issue #3935 Fix some bugs.
Merge pull request #341 from SmallAiTT/tests_js_3.0_ccgame

issue #3935 Fix some bugs.
Refactor #3942: Refactor cc.RESOLUTION_POLICY to cc.ResolutionPolicy
Merge pull request #342 from pandamicro/tests_js_3.0

Refactor #4125: Apply all rest engine getter/setter in samples
Refactor #3942: Refactor cc.ShaderCache to cc.shaderCache and cc.AudioEngine to cc.audioEngine
Refactor #3942: Refactor all usage of cc.AudioEngine and cc.Director
Refactor #3942: Refactor all usage of cc.EGLView, cc.SAXParser, cc.PlistParser, cc.IMEDispatcher
Refactor #3942: Refactor all usage of cc.SpriteFrameCache, cc.AnimationCache, cc.TextureCache
Refactor #3942: Move CCCommon.js load order
Merge branch 'tests_js_3.0' of https://github.com/cocos2d/cocos2d-js-tests into tests_js_3.0

Conflicts:
	tests/PerformanceTest/PerformanceParticleTest.js