Keep track of ServiceRegistration objects for all handed out service
instances and unregister them when the factory is shutting down.

Fixes #15
ScalaDocs