Add single-return function creation method to LuaFunction
Clean up feature warnings