The discovery that the badger-like animal lived alongside dinosaurs challenges ideas about mammals.