turn `parent` into a property of QSObject

This eliminates a dependency on QSLibrarian.
eliminate findDuplicateOrRegisterID

As of dbe8512c31, objects will always be created with a "registered"
identifier.