Merge pull request #1456 from dingpinglv/DevelopToMaster

tag Cocos2d-html5 v2.2.2
Merge pull request #1462 from dingpinglv/DevelopToMaster

tag Cocos2d-html5 v2.2.2
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into develop-3.0
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into develop-3.0
issue #4221 Refactor UILabel to UIText
issue #4221 Refactor constant for widget
issue #4221 Refactor constant for UILayout
issue #4221 Refactor constant for Layout
issue #4221 Refactor constant for ListView
issue #4221 Refactor constant for PageView
issue #4221 Refactor constant for ScrollView
issue #4221 Remove file UISwitch.js
issue #4221 Refactor constant for widgets
issue #4221 Refactor constant for cocostudio action
issue #4221 Refactor constant for armature
issue #4221 fixed bug about setScale9Enabled for UILoadingBar
Merge pull request #1626 from dingpinglv/Iss3427_NewEventDispatcher

Fixed #3427: add a condition to check parameter for addListener
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into develop-3.0
Refactor #4240: Rename getInfo to original dumpInfo
Change positions of codes.