Neanderthals dosed themselves with painkillers and possibly penicillin, according to a study of their teeth.