add memory table for Lua
add rom.header and rom.settings
start to add callbacks for Lua (the core calls the functions but they do nothing)
Lua can now register callbacks.
Lua can now unregister callbacks.