Tecnically, you could Retrain them just like you can retrain your character, as the retraining rules don't specify who can or cannot do it. So they are allowed to everyone, PC, NPC or monsters.
The Handle Animal rules won't cover feats, just tricks.
How do animals (not familiars or animal companions) gain feats, if
they do at all?
They only gain feats when their Hit Die are increased.
There is absolutely no way for a PC to increase that without making it an animal companion or similar class feature, or without Awakening them. But if awakened, it might not like being your mount anymore.
Can I substitute out it's starting skills/feats for ones I want?
GM's decision, it's his world and he has to say if it's possible to find one that was trained exactly how you wanted it. Just like he can say if a certain town has combat trained horses or not.