luatools

+ adds user defined structure support in output stream
+ adds array of user defined structure support in output stream
luatools: user defined structure support for output stream