call detach method on thread exit
fix warns and memory leak
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3-win32-warn

Conflicts:
	tests/cpp-tests/Classes/UITest/CocoStudioGUITest/UIButtonTest/UIButtonTest.cpp
mingw64: mirgrate to upstream minizip
Merge pull request #8642 from martell/minizip

mingw64: mirgrate to upstream minizip
Fix the lua-tests compile error
Update project setting for Linux and Win32
Merge pull request #8644 from samuele3hu/v3_compile_error

Fix the lua-tests compile error
fix bug that Application::getCurrentLanguageCode on ios and mac always return empty string
fixed compile error
Merge pull request #8543 from Dhilan007/v3-fixwarns

fix warns and memory leak
[AUTO]: updating luabinding automatically
Merge pull request #8649 from CocosRobot/update_lua_bindings_1413015049

[AUTO]: updating luabinding automatically
Merge pull request #8648 from Dhilan007/v3-zipfix

fixed compile error
Merge pull request #8646 from huangshiwu/v3_languagecode

fix bug that Application::getCurrentLanguageCode on ios and mac always r...
[ci skip] Update CHANGELOG
Merge pull request #8577 from ntotani/detach-thread-on-exit

call detach method on thread exit
enable/disable thread pool at run time
Merge branch 'newcode' into skinopt