Add Lua references
Organize LuaState methods
Correct function call wrapper return value

wrap_call returns number of return values given by closure, not 0
Correct userdata functions

Replace lua_topointer with lua_touserdata
Replace light_userdata with generic "obj" functions
Wrap set/gettable, and raw equivalents
Wrap length methods