Enable the doctrine event listener.

@remyfrd mailed me if we can inject the doctrine listener into the container.
I register the doctrine listener if the `doctrine` definition is available, so if you add the `DoctrineBundle` the bundle will notice it and activate the doctrine listener for you.

@remyfrd Can you test it in you application?
`driver` sounds better.