Lua support for generators

Tria now uses LuaJit for custom generators, making it easy to create
new generators quickly, or enabling 3rd party projects to ship with
their own generators which do something cool.
Lua generator: Export some information to 'tria' Lua table