Fix the type judgment of lua value would parse string —> int or int —> string
Fixed compile error with CC_REF_LEAK_DETECTION
Fix error with CC_ENABLE_SCRIPT_BINDING=0

There are too much compile error if I set EE_ENABLE_SCRIPT_BINDING=0.

CCEventTouch and CCTouch related things...
This is temporary fix... Many source/header files must be patched for
the right way..
Fix’ the error that Cocos2dxLuaJavaBridge' was optimized because of usage of LOCAL_STATIC_LIBRARIES on the android
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_fix
Update CCBone.cpp

fix the bone disorderly flying
http://www.cocoachina.com/bbs/read.php?tid-220321-keyword-%C2%D2%B7%C9.html
Fixed "warning: bundle reader out of range"

This warning was displayed even if it's valid c3b file..
Changed "validLength <= needLength" to "validLength < needLength".
fix #9031
Merge pull request #1 from cocos2d/v3

Updates
Fixed failure in call to make when the android app folder contains spaces in the path.
Remove unused variable from composed include_directories
cmake: protobuf should be linked with cocos2d.a in every platform (not only on linux)
cmake: connect mac specific UIEditBox implementation to build
cmake:
- fix Audio engine build on Mac
- remove duplicated defintions of _EXPORT_DLL_
cmake: Build application bundles on Mac for test applications (this allow run they from Xcode)
Move BuildHelpers.CMakeLists.txt to Modules/CocosBuildHelpers.cmake, this name is more standard for cmake include files, and in future this file can be installed to use by external applications.
add touch callback types
[AUTO][ci skip]: updating cocos2dx_files.json
fix bugs - potential memory leak.

const std::string text = std::string((char*)ch,0,len); is using next
string constructor.
string (const string& str, size_t pos, size_t len = npos);
memory leak can occur while type converting char to string.

So we have to use next string constructor.
string (const char* s, size_t n);

http://www.cplusplus.com/reference/string/string/string/
Fix SimpleAudioEngine::sharedEngine()->playBackgroundMusic() crash on Lollipop