Merge pull request #7757 from natural-law/v3

Update the reference of submodule cocos2d-console.
Adjust the lua templates for the lua modules.
Merge pull request #7764 from natural-law/v3

Adjust the lua templates for the lua modules.