[WIP] Move more Doctrine related container settings in the appropriate CompilerPass

This also makes sure they are loaded even if the core is not instantiated (e.g. when using the Symfony console). However this needs
- further testing before merge
- further improvements

I also removed the `$ORMConfig->setSQLLogger(new ZikulaSqlLogger());`, as we now have the Symfony profiler. However I can re-add it if you feel we need it.