Symfony2 configuration conditionally loading

My request change the configuration method for loading Symfony2 bundle.

If you configure ```saga``` repository to ```in_memory``` all ```mongodb``` service will not be loaded.

In same spirit, if you set the ```readmodel``` repository to ```in_memory```, the elasticsearch service will not be loaded.

So, if you want change for use another readmodel repository, you can set ```readmodel``` repository to ```in_memory``` dans overwrite alias ```broadway.read_model.repository_factory``` in your configuration file.

Open to suggestions and comments.
using ``$configs[0]`` is totally wrong. You should work only with the processed configuration (the ``$config``) variable created a few lines below.

You are absolutely no guarantee about the content of ``$configs[0]`` (I'm not even sure there is a guarantee it is an array or if a weird YAML config file could make it being ``null``). You will get notices for undefined indexes everywhere.
And using only the first config file means you are not supporting environment overwrites anymore.