Merge pull request #18 from cocos2d/v3

update lua
fixed head search path
Merge pull request #19 from chuanweizhang2013/v3luaruntime

fixed head search path
Merge pull request #6791 from cocoscodeide/v3

fixed head search path for  template
fixed mac relaunch bug
fixed version num
Merge pull request #20 from chuanweizhang2013/v3luaruntime

fixed mac relaunch bug
Merge pull request #21 from cocos2d/v3

Merge pull request #6791 from cocoscodeide/v3
fixed portrait
modiy size
Merge pull request #22 from chuanweizhang2013/v3luaruntime

fixed portrait
Merge pull request #6793 from cocoscodeide/v3

fixed mac relaunch