Merge pull request #6791 from cocoscodeide/v3

fixed head search path for  template
Merge pull request #21 from cocos2d/v3

Merge pull request #6791 from cocoscodeide/v3