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