Merge pull request #8543 from Dhilan007/v3-fixwarns

fix warns and memory leak
[AUTO]: updating luabinding automatically
Merge pull request #8649 from CocosRobot/update_lua_bindings_1413015049

[AUTO]: updating luabinding automatically