android & ios screen size change support
issue #3025: add getTextureCache() in CCdirector()
issue #3025: Deprecate TextureCache::getInstance() destroyInstance()
issue #3025: replace TextureCache::getInstance() by Director::getInstance()->getTextureCache() in cocos folder
issue #3025: replace TextureCache::getInstance() by Director::getInstance()->getTextureCache() in samples folder
issue #3025: remove TextureCache::_sharedTextureCache
Merge branch 'develop' of github.com:cocos2d/cocos2d-x into iss3025_TextureCache
issue #3025: move VolatileTexture static function to VolatileTextureMgr
Return non-zero if ndk build fails.
issue #3025: deprecate TextureCache::reloadAllTextures, call VolatileTextureMgr::reloadAllTextures instead
issue #3025: directly use _textureCache in Director
Some fixes:
1) Moving the implementation of JSStringWrapper to .cpp file. Removing override operator() which will be easy to make errors.
2) Deleting JSCallFuncWrapper since it isn’t needed after using std::function for MenuItem’s Callback.
3) Fixing ChipmunkTest crash sometimes on MAC platform(64bit).
Fixing memory leak of JSStringWrapper::set .
VS2012 doesn’t support invoke another constructor method in current constructor.
HASH_FIND_INT —> HASH_FIND_PTR for CCAcitonManager.cpp and CCScheduler.cpp.
Using std::unordered_map instead of UTHASH for js_type_class_t.
Since xxx.hash_code() return size_t which is 8bytes on 64bit system, we should not use HASH_ADD_INT and HASH_FIND_INT for js_type_class_t.
Updating Bindings-generator.
Reverts auto-generated.
Merge pull request #4154 from dumganhar/jsb-compile-fix

[ci skip]Some fixes:
Merge pull request #4149 from dumganhar/android-build-fix

[ci skip]Return non-zero if ndk build fails.