fix warnings
Merge pull request #7787 from samuele3hu/v3_3_module

Rename folder names of cpp-template ,adjust the template project except wp8 and add modules register functions for lua-template-runtime
Merge pull request #7792 from minggo/fix-warning

fix warnings