Merge pull request #1625 from SmallAiTT/CCGame_dev3.0

Change some public api to private.  Remove some public api. Fix some bugs.
Fixed #3427: add a condition to check parameter for addListener
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into Iss3427_NewEventDispatcher
Merge pull request #1626 from dingpinglv/Iss3427_NewEventDispatcher

Fixed #3427: add a condition to check parameter for addListener
Change positions of codes.