Moved all animation code into game_object class

This way all game objects can use this code. Had some issues with ensuring that current_animation would get initialized by the derived class; might change this later. For now it simply uses an assert to see if the animation is NULL.