changed when body is added to space in addPremadeBody
Fixing input and state reset issues with threaded builds.
Merge pull request #287 from crazysam/dev

Fixing input and state reset issues with threaded builds.
FlxText color setter fix
BitmapFilters for FlxSprite and FlxText now work for native targets.
update thread
Reset widthInTiles on multiple loadMap calls

Fixes the issue in FlxTilemap.loadMap where calling 
it on the same FlxTilemap more than once
wouldn't reset the widthInTiles field.
FlxAssets.addBitmapDataToCache() method for more control over caching
Fixing input and state reset issues with threaded builds.
FlxText color setter fix
FlxMouseControl fix (now extended sprites can be dragged and clicked
Merge remote-tracking branch 'origin/dev' into texture_atlas
fix for FlxCollision pixelPerfectPointCheck for non-flash targets
Merge remote-tracking branch 'origin/dev' into texture_atlas
start merging update methods
second commit with update method merging (NestedSprite not updated yet)
NestedSprite update merging
started separation of normal and debug drawing (for further possible optimization)
finished splitting drawing methods for non-flash targets
Made switchState call happen within update, so _state.create() runs on the same thread as _state.update().