Move service listener registrations to plugin managers

The ModuleManagerFactory was getting really messy, furthermore it was hard to know under which keys which plugin manager was registered because they were all done in the ModuleManagerFactory.

This PR just add the plugin manager to each factory.