added init method to plugins
this will allow potentially destructive code to run outside of the
constructor, and only if it has been added to the PluginManager
Preparing for 1.1.2 release.
* Fixed issue 135 - Added typeof checks into most ArcadePhysics functions to avoid errors with zero values.
* Fixed issue 136 - distanceTo using worldX/Y instead of x/y.
Merge pull request #139 from beeglebug/master

Added init method to plugins, to be called as they are added to the PluginManager
New: You'll now find a complete Basic project Template in the resources/Project Templates folder. Will add more complex ones soon.
Nearly fixed the tilemap / body issue. More tests needed but then can push to master.
Final body / physics / bounds fixes. Also updated various examples, optimised Sprite core loop and enhanced the Invaders example.
hexToRGB now accepts short hex codes (#EEE)
Merge pull request #144 from beeglebug/dev

hexToRGB now accepts short hex codes (#EEE)
state callbacks now receive game object as argument
Merge pull request #147 from beeglebug/scope

state callbacks now receive game object as argument
Fixing up Invaders and Star Struck. Also removing lots of un-used css jsdoc themes.
More work on the Invaders game.
Multiple Anims update, Tilemap fixes and some new examples.
Fixed issue 141 - If a Sprite is dragged and you release the Pointer while not over the Sprite, it will think it's still over it (thanks Paratron)
* Updated: event.preventDefault() has been added to all Mouse event handlers.
* Updated: Sprite.deltaX/Y removed due to non-use. prevX/Y values moved to Sprite._cache.prevX/Y.
* Updated: Due to missing extends parameter the Sprite prototype was picking up functions from classes it never meant to (Button, TilemapLayer), now fully isolated.