Simplify __tostring

Signed-off-by: katlogic <kat@lua.cz>
First working versions.

A lot of fixes:

* Exceptions, pairs(), formatting.

Signed-off-by: katlogic <kat@lua.cz>