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 branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into develop-3.0
Refactor #4240: Rename getInfo to original dumpInfo
Feature #3942: Refactor singleton classes to objects in Extension
issue #4221 Refactor setColor and setOpacity for gui