Animation and Entity work.

Added an OnAnimationComplete event hook to animations. Also, Entities
now track how long they've been alive.