Toothpaste made with hair could repair damaged teeth and stop the early stages of decay, a new study has found.