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
do not load deprecated Lua API from luabinding of modules
update luabinding scripts
update lua-template-default
remove unused codes
compiler fixes for windows
more win fixes
one more fix, oops
Merge pull request #8638 from ricardoquesada/win_fixes

compiler fixes for windows
Merge pull request #8637 from dualface/migrate_lua_to_project_src

Migrate Deprecated Lua API from Luabinding of modules to folder src/cocos
[AUTO][ci skip]: updating cocos2dx_files.json
Merge pull request #8639 from CocosRobot/update_cocosfiles_1412993782

[AUTO][ci skip]: updating cocos2dx_files.json
mingw64: mirgrate to upstream minizip
fix DrawNode's memory leak -- delete vaos those are generated and forget to release
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