Remove pointless template-parameter from regaccess
Move 'debuggerBreakOnWrite' from debugger.cpp to luactrl.cpp. Extend lua-api to access legacy-commands.