Sprite animation merge with luk32 personal branch.

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