Add animation support and class SpriteObject

Move the sprite controlling and animation to a child of class Object,
and add support for fractional frames in class SpriteSheet.