TableView updates to provide more touch input to CCTableViewDelegate
Merge branch 'gles20' of github.com:cocos2d/cocos2d-x into gles20
Merge branch 'gles20' of github.com:cocos2d/cocos2d-x into gles20
added lua support for linux platform
when user specified 'group' parameter, it should be parsed as an 'int'

Otherwise, when we do slicing, it would report type error.
added support for Japanese language
add kLanguageKorean and kLanguageJapanese for lua binding
implemented CCApplication::getCurrentLanguage() for linux platform
issue #1581: JSBinding bug fixes.
Some fixes of JSBinding codes:
[1] Check whether the proxy was already added in JS_NEW_PROXY
[2] In struct schedFunc_proxy_t, JSScheduleWrapper* --> CCArray*
Reason: One js function may correspond to many targets. To debug this, you could refer to JSScheduleWrapper::dump function. It will prove that i'm right. :)
[3] In ScriptingCore::cleanupSchedulesAndActions function, we must invoke unschedule for all targets and remove the proxy both in _schedFunc_target_ht and _schedTarget_native_ht, otherwise the hash tables will grow bigger and bigger, so I added a new function JSScheduleWrapper::removeAllTargetsForNatiaveNode to make this things easier.
[4] To easily find out the bugs of binding codes, I add JS_SetGCZeal in ScriptingCore::createGlobalContext, it only works in DEBUG mode.
[5] In js_cocos2dx_CCNode_getChildren, we should add the generated array to root to avoid gc happen when invoking JS_SetElement.
[6] The JSCallFuncWrapper isn't needed since an action will be run by a cc.Node and it will be released at the CCNode::cleanup.
[7] Some improvements of JSScheduleWrapper class.
[8] Added a new function JSScheduleWrapper::setTarget, it's for js_CCNode_unschedule to find out which target need to be unscheduled.
[9] Commented JS_SetReservedSlot in js_CCNode_scheduleOnce and js_CCNode_schedule.
Reason:
For js_CCNode_scheduleOnce: Don't add the callback function to the reserved slot of this js object.Since the class of js object may be inherited from cocos class(e.g. cc.Sprite). The subclass will not contain reserved slots. It will crash if invoking this.
For js_CCNode_schedule: Don't add js callback function to the reserved slot of scheduler js object. Since the scheduler is an object always rooted.
So the callback function might not be released when gc comes.I looked inside the implementation of cc.Node.schedule, and it doesn't use JS_SetReservedSlot there.
issue #1581: Removed some unused codes.
Fixing Accelerometer crash on Android
issue #1581: Deleted JS_AddObjectRoot when construct a JS array since JS_SetElement will not trigger a GC.
fixed #1582: A logic bug in CCBAnimationManager::setAnimatedProperty.
Merge pull request #1671 from dumganhar/gles20

fixed #1582: A logic bug in CCBAnimationManager::setAnimatedProperty.
issue #1583: Updated the submodule reference of cocos2d-js-tests.
issue #1583: Moved the common js codes to scripting/javascript/bindings/js folder. Deleted the old js sample resources.
Temporary commit.
Updated jsb_constants_chipmunk.js and jsb_constants_cocosbuilder.js.
Make sure HelloCpp can be full screen.
Merge pull request #1672 from dumganhar/gles20

Make sure HelloCpp can be full screen.