Compile DIC with ContainerBuilder to allow service definitions to be build up post compile.

This worked in Symfony 2.2 but breaks in 2.3

This breaks when using app/console clear:cache

$ app/console -v cache:clear
Clearing the cache for the dev environment with debug true

  [Symfony\Component\DependencyInjection\Exception\InactiveScopeException]
    You cannot create a service ("request") of an inactive scope
    ("request").

Exception trace:
 () at app\cache\de_\ap_DevDebugProjectContainer.php:1427
 ap_DevDebugProjectContainer->getRequestService() at app\bootstrap.php.cache:133
 Symfony\Component\DependencyInjection\Container->get() at Symfony\Component\DependencyInjection\ContainerBuilder.php:431
 Symfony\Component\DependencyInjection\ContainerBuilder->get() at app\cache\de_\ap_DevDebugProjectContainer.php:953
 ap_DevDebugProjectContainer->getFragment_HandlerService() at app\bootstrap.php.cache:133
 Symfony\Component\DependencyInjection\Container->get() at Symfony\Component\DependencyInjection\ContainerBuilder.php:431
 Symfony\Component\DependencyInjection\ContainerBuilder->get() at app\cache\de_\ap_DevDebugProjectContainer.php:2666
 ap_DevDebugProjectContainer->getTwigService() at app\bootstrap.php.cache:133
 Symfony\Component\DependencyInjection\Container->get() at Symfony\Component\DependencyInjection\ContainerBuilder.php:431
 Symfony\Component\DependencyInjection\ContainerBuilder->get() at app\cache\de_\ap_DevDebugProjectContainer.php:65
 ap_DevDebugProjectContainer->getAssetic_AssetManagerService() at app\bootstrap.php.cache:133
 Symfony\Component\DependencyInjection\Container->get() at Symfony\Component\DependencyInjection\ContainerBuilder.php:431
 Symfony\Component\DependencyInjection\ContainerBuilder->get() at vendor\symfony\assetic-bundle\Symfony\Bundle\AsseticBundle\CacheWarmer\AssetManagerCacheWarmer.php:33
 Symfony\Bundle\AsseticBundle\CacheWarmer\AssetManagerCacheWarmer->warmUp() at Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate.php:47
 Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand.php:117
 Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->warmup() at Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand.php:83
 Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() at Symfony\Component\Console\Command\Command.php:240
 Symfony\Component\Console\Command\Command->run() at Symfony\Component\Console\Application.php:940
 Symfony\Component\Console\Application->doRunCommand() at Symfony\Component\Console\Application.php:204
 Symfony\Component\Console\Application->doRun() at Symfony\Bundle\FrameworkBundle\Console\Application.php:78
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at Symfony\Component\Console\Application.php:117
 Symfony\Component\Console\Application->run() at app\console:22

    cache:clear [--no-warmup] [--no-optional-warmers]