Ticket #15 - inheritance / composition

ObjectEntity is now composed with AnimatedSpriteobject, and does not anymore inherit from it.

https://github.com/obiot/melonJS/wiki/Upgrade-Guide