Sprite animation merge with luk32 personal branch.

All planned basic functionality for animations seem to be working.
Brush-ups to API and design are still expected.