several methods of stack can actually be static
make get_type, to_number etc free functions
make size(lua_State&) a free function