luaconfig: Big refactor of lua config frontend.

Intermediate logpipes are now not created, a Lua table is created instead,
which holds the necessary instatiation information. They are instantiated
only, when top-level log statements are instantiated.
luaconfig: Reworked lua config for Parser based on previous refactor