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