Setup Instance hiearchy. Started Lua wrapper code based on work by DigiTechs.
Implemented start of Lua wrapper
Fixed DataModel.cpp
Lua method inheritance
Instance::register_lua_metamethods
Hackiest type checking ever.
It works. For now.