properly unregister
https://www.osgi.org/members/bugzilla/show_bug.cgi?id=2706
registrations need better tracking. A registrant must unregister an object the same criteria used to register
fix resources bug