Horses not only remember people who have treated them well, research shows they also understand words better than expected.