Special treatment for QObject ownership

LuaRuntime now detects ownership of QObjects dynamically. When Lua's
GC wants to destroy a QObject, it will only be really destroyed, if
the LuaRuntime instance is the QObject::parent(). If not, it is left
alone.

Also fixed a bug for object handlers.