Merge pull request #226 from pandamicro/master

Issue #4589: Make engine classes extendable in JSB pack 1
Fixed #4667: Remove DEBUG preprocessor macro in templates
Merge branches 'master' and 'master' of https://github.com/cocos2d/cocos2d-js