Fix pushUserdata function to set the metatable, leaving the userdata on stack.
Fixing severe bugs in __gc and __eq metamethod implementations.