issue #5685: replace create with new
issue #5685: fix transition _ctor bugs
issue #5685: replace create with new in TextInputTest, TextureCacheTest, TileMapTest, UnitTest, XHRTest
Merge pull request #575 from joshuastray/use_new_in_sample

replace create with new in TransitionTest and fix bugs