Ported DirtyRectangleManager from the older version
Added primitive SpriteSheet
Added ImageLayer - a layer for rendering a static image
Fixed a bug that caused empty frames to appear in an animation
Adedd getCurrentSequence to Sprite