Fixed #3427: fixed a bug of dispatchEvent in event manager
Merge pull request #1634 from SmallAiTT/CCGame_dev3.0

issue #3935 Refactor `cc.sys`.
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into Iss3427_NewEventDispatcher
Merge pull request #1635 from dingpinglv/Iss3427_NewEventDispatcher

Fixed #3427: fixed a bug of dispatchEvent in event manager
closed #3945 Refactor cc.color constant
issue #3945 Refactor cc.color constant
Merge pull request #1636 from xingsenma/develop-3.0

closed #3945 Refactor cc.color constant
Issue #4277: move gl's constant variable to cc
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into Iss3427_NewEventDispatcher
Merge pull request #1638 from dingpinglv/Iss4277_FixBugsForV3.0

Issue #4277: move gl's constant variable to cc
Issue #4277: remove HelloHTML5World and template from Cocos2d-Html5
Issue #4277: remove submodule 'samples' from cocos2d-html5
Merge pull request #1639 from dingpinglv/Iss4277_FixBugsForV3.0

Issue #4277: remove HelloHTML5World and template from Cocos2d-Html5
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into CCGame_dev3.0

Conflicts:
	HelloHTML5World/main.js