Fixed _key[input] having an error

Since input is of Dynamic type, it can't be used directly for the
Map<Int, Bool> key. Added a check and a cast
Merge branch 'dev' of github.com:Anheurystics/HaxePunk into Anheurystics-dev

Conflicts:
	com/haxepunk/utils/Input.hx
Merge branch 'Anheurystics-dev' into dev
Update run script
Fix Text.addStyle on native, Fix #262
Fix text and richText color change, Fix #261
Fix parent null value in mask calculations, Fix azrafe7's #259
Added Spritemap support for playing adhoc animations.
Merge branch 'dev' of https://github.com/HaxePunk/HaxePunk
Added reset control to Spritemap.stop(). Fixed stop() failing to update the buffer.