Merge pull request #10 from rburchell/new-qtwayland

Changes required for new QtWayland.
Fix loss of valid dbus objects after unregisterObject

When registering an object that was previously unregistered but not yet
garbage collected, the activeChildren count on the parent node was not
incremented, which could result in other registered objects disappearing
after a later unregisterObject.

Copying objects in the tree is not free, but it's not expensive enough
or used frequently enough to justify that error-prone logic. It's much
safer to simply remove objects immediately.

Change-Id: I3dc59c2ebd07b237518424fcd8ea7371a22d6d15
Merge pull request #11 from special/qdbus-unregister-2

[qtdbus] Fix loss of valid dbus objects after unregisterObject
fuxk