This will allow a client package to register multiple client instances. Before, the package name was used as a key for storing these clients, which resulted in some entries being overridden. A use case when some application might want to register more listeners is when it needs to connect to CouchDB from both an activity as well as a ContentProvider used for search suggestions. It's true that the application might employ a Singleton to manage this, but we better watch for this situation in the service.
This is the first working version. Some refactoring will follow.