Fix some bugs.
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into tests_js_3.0_ccgame
Merge pull request #356 from SmallAiTT/tests_js_3.0_ccgame

Change some public api to private.  Remove some public api. Fix some bugs.