Lua functions are registered automatically now.

Each source file that uses Lua functions,
uses the AutoRegisterInLua macro to create a function
that is called when Lua initializes.