Merge pull request #329 from xingsenma/master_js_3.0

issue #3945 cc.c4b -> cc.color
Merge pull request #331 from xingsenma/master_js_3.0

issue #3939 frame# -> #
issue #3935 Fix some bugs.
Issue #3427: modify accelerometer register codes with new event manager
Issue #3427: add an "onExit" function to EventTest
Merge pull request #332 from SmallAiTT/tests_js_3.0_ccgame

issue #3935 Fix some bugs.
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into Iss3427_NewEventDispatcher
Merge pull request #333 from dingpinglv/Iss311_RestoreOpenGLTest

Issue #3427: modify accelerometer register codes with new event manager
issue #3935 Fix some bugs.
Merge pull request #334 from SmallAiTT/tests_js_3.0_ccgame

issue #3935 Fix some bugs.
Issue #3427: modify keyboard register codes with new event manager
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into Iss3427_NewEventDispatcher
Merge pull request #335 from dingpinglv/Iss3427_NewEventDispatcher

Issue #3427: modify keyboard register codes with new event manager
Issue #3427: remove all of old event handler and dispatcher from build.xml and project.json
Merge pull request #336 from dingpinglv/Iss3427_NewEventDispatcher

Issue #3427: remove all of old event handler and dispatcher from build.xml and project.json
issue #4154 update cocostudio gui to 3.0