Issue #2416: replace some deprecated APIs to new APIs
Issue #2416: rename cc.Node's _StateCallbackType to _stateCallbackType
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-html5 into Iss2416_RefactorRenderer
Merge pull request #2422 from dingpinglv/Iss2416_RefactorRenderer

Issue #2416: replace some deprecated APIs to new APIs