issue #3781, Update genbinding script to fit new bindings-generator.
issue #3781: Fix the variable name.
issue #3781, Add windows bat script.
close #3805:fix wrap error and alignment error.
issue #3781, js not generate cocos2dx physics now.
issue #3781, Undefine the __MINGW32__ macro to fix the script error on windows
Improves documentation with local z order
Merge branch 'develop' into local_z_Order_fixes

Conflicts:
	cocos/2d/CCNode.cpp
	cocos/2d/CCNode.h
Merge pull request #5146 from ricardoquesada/local_z_Order_fixes

Local z order fixes
BatchCommand API fixes

don't pass Texture Id.
Instead fetch it from the `TextureAtlas`
Merge pull request #5147 from ricardoquesada/batch_command_api_fixes

BatchCommand API fixes
First step in simplifying the mac platform
Removed unused code and files.

Making the mac platform easier to mantain
ActionsProgress test include fixes
global Z order uses floats
Merge pull request #5148 from ricardoquesada/mac_platform_simplified

Mac platform simplified + fixes in EventDispatcher
Merge pull request #5145 from samuele3hu/developBugFix

Fix:e Add new test case for GlobalZOrder in the TestLua/NodeTest
closed #3808: Removes unused files for MAC platform after using glfw3 to create opengl context
issue #3713:fix memory leak of autoreleas pool
Merge branch 'iss3713-replace_CCObject' of https://github.com/minggo/cocos2d-x into iss3713-replace_CCObject