Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into CCGame_dev3.0
Merge pull request #1612 from pandamicro/develop-3.0

Refactor #3942: Refactor singleton Class to javascript object
Closed #3427: remove TouchDispatcher, KeyboardDispatcher etc from Cocos2d-Html5
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into Iss3427_NewEventDispatcher

Conflicts:
	cocos2d/core/platform/CCEGLView.js
	cocos2d/menus/CCMenu.js
	cocos2d/transitions/CCTransition.js
Merge pull request #1613 from dingpinglv/Iss3427_NewEventDispatcher

Closed #3427: remove TouchDispatcher, KeyboardDispatcher etc from Cocos2d-Html5
issue #3935 Refactor cc.sys
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into CCGame_dev3.0

Conflicts:
	cocos2d/core/platform/miniFramework.js
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into CCGame_dev3.0

Conflicts:
	cocos2d/core/platform/miniFramework.js
Merge pull request #1614 from SmallAiTT/CCGame_dev3.0

Cc game dev3.0
Rename `cocos2d-html5/cocos2d/core/CCGame.js` to `cocos2d-html5/CCBoot.js`.
Closed #4166: fixed particleSystem's bug that its color is incorrect on WebGL
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into Iss4166_ParticleBug
Merge pull request #1616 from dingpinglv/Iss4166_ParticleBug

Closed #4166: fixed particleSystem's bug that its color is incorrect on WebGL
Merge pull request #1615 from SmallAiTT/CCGame_dev3.0

Rename `cocos2d-html5/cocos2d/core/CCGame.js` to `cocos2d-html5/CCBoot.js`
Refactor functions of log.
cc.renderContextType --> cc.renderType.
cc.CANVAS --> cc.RENDER_TYPE_CANVAS.
cc.WEBGL --> cc.RENDER_TYPE_WEBGL.
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into CCGame_dev3.0
Refactor functions of log.
cc.renderContextType --> cc.renderType.
cc.CANVAS --> cc.RENDER_TYPE_CANVAS.
cc.WEBGL --> cc.RENDER_TYPE_WEBGL.
 issue #4221 add some getter method .
issue #4221 add read "selectedState"
issue #4174 fix scale bug for button.