Improve error handling in ToThread and ToString
Improve error handling in ToThread and ToString

If used on an inappropriate value, these now raise Lua_Error rather than
returning garbage or an empty string respectively.

jhumphry/aLua