[TASK] Move eventListeners configuration to package configuration

As the Doctrine event listeners for ORM and ODM have different
type hinting for the method arguments we can not put just register
them in the ODM and ORM eventManager. For this we move the configuration
to the couchdb package.