this section can be simplified by extending [``ConfigurableExtension``](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/DependencyInjection/ConfigurableExtension.php) which takes care of processing the config for you (it is available since 2.1)