Preparing for 2.0.6 "Jornhill" development.
Sprite.alive property now explicitly defined on the Sprite prototype (thanks @lewster32, #841)
BitmapData.extract has 4 new parameters: r2, g2, b2, a2 which let you re-color the extract pixels as they are drawn to the new BitmapData.
BitmapData.load will take a game object or string and resize the BitmapData to match it and then draw the pixels in.
BitmapData.resize now properly updates the baseTexture and texture dimensions.
BitmapData.draw can now take a BitmapData object as a source type.
jsdoc and jshint fixes.
BitmapData.alphaMask can now also take a Phaser.Sprite, Phaser.Image or BitmapData object as a source type.
BitmapData.alphaMask has 4 new optional parameters: x, y, x2 and y2 to control exactly where the source and mask images are drawn.
BitmapData.alphaMask 'mask' parameter is now optional, if not given it will use itself as the mask.
BitmapData.alphaMask now calls BitmapData.update after running.
BitmapData.alphaMask has 2 new optional parameters: sourceRect and maskRect to give more fine-grained control over where the source and mask are drawn and their size
BitmapData.draw now has two optional parameters: width and height, to let you stretch the image being drawn if needed.
Merge branch 'dev' of github.com:cuihao777/phaser into mine