Merge pull request #3485 from ricardoquesada/perf_and_bug_fixes

Perf and bug fixes
Merge pull request #3482 from minggo/release_unneeded_codes

Remove unneeded codes
Merge pull request #3486 from CocosRobot/updategeneratedsubmodule_1377584196

[ci skip][AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #3470 from boyu0/iss2494_Point_isSegmentIntersect_bug

closed #2494: Fix bug when two line is incident, the Point::isSegmentIntersect() may return wrong result
issue #2732: Deleting tolua/userconf.ini
issue #2732: Moving 'scripting/javascript/bindings/generated' to 'scripting/auto-generated'.
issue #2732: [iOS] Updating the reference of auto-generated binding glue codes.
issue #2732: Removing "scripting/lua/cocos2dx_support/generated" folder.
issue #2732: Updating scripting/javascript/bindings/Android.mk and scripting/lua/proj.android/Android.mk.
issue #2732: [Win32] Updating project configuration for libJSBinding.vcxproj and liblua.vcxproj.
issue #2732: Adding 'scripting/auto-generated/js(lua)-bindings' to search path of include files.
issue #2732: Removing unused files (LuaCocos2d.cpp/.h).
issue #2732: [iOS, Mac] Removing unused files (LuaCocos2d.cpp/.h).
issue #2732: [iOS]Adding 'scripting/auto-generated/js(lua)-bindings' to search path of include files.
issue #2732: [iOS] Adding 'Cocos2d.lua".
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into move-auto-generated

Conflicts:
	scripting/auto-generated
issue #2732: [Linux, Emscripten] Updating Makefile.
issue #2732: Adding 'tools/tolua/userconf.ini' to ignore list.
closed #2732: [Linux emscripten] Updating Makefile.
issue #2732: Updating travis script. Linux port needs to generate luabinding codes.