parser: expose entire thread stats struct array to Lua

You can now read whatever you want from it, it's all there. I am not sure about exposing the object array though. It takes time to push everything to the Lua stack but I'll probably implement it as an option rather than always being exposed.