System to lua

Hi @irigi
Well I finally got around to taking a look a this work you did 5/6 months ago.
I rebased it to master, fixed up some minor changes and added a method for dumping it via the console using the command: 'Game.system:ExportToLua()'

This is a really handy piece of functionality, I just wish that I'd gotten around too it earlier.
Andy aka @fluffyfreak