Closed #3151: Reducing Some classes' dependency in cc.Director for Performance
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-html5 into Iss3151_ReduceDependency
fixed #3151: remove the test codes
Merge pull request #1221 from dingpinglv/Iss3151_ReduceDependency

Closed #3151: Reducing Some classes' dependency in cc.Director for Performance