Merge pull request #350 from SmallAiTT/tests_js_3.0_ccgame

cc.renderContextType --> cc.renderType
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into tests_js_3.0_ccgame
Fix some bugs.