closed #4666, Update the build configuration files in template & update the reference of submodule cocos2d-console.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into issue4666
Merge pull request #6172 from natural-law/issue4666

Optimize the configuration of copy resources files in templates.