[HttpKernel] Fixed ContainerAwareHttpKernelTest.
merged branch jakzal/httpkernel-tests-fix (PR #7984)

This PR was merged into the master branch.

Discussion
----------

[HttpKernel] Fixed ContainerAwareHttpKernelTest

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes, although not all of them yet (security tests fail on PHP 5.3.3)
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

d5e7bdf [HttpKernel] Fixed ContainerAwareHttpKernelTest.