[Translation] make IdentityTranslater consistent with normal translator
[FrameworkBundle] Update 2 dependencies (currently broken)
bug #9536 [FrameworkBundle] Update 2 dependencies (currently broken) (asm89)

This PR was squashed before being merged into the master branch (closes #9536).

Discussion
----------

[FrameworkBundle] Update 2 dependencies (currently broken)

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

## Dependency on http-foundation

In https://github.com/symfony/symfony/commit/b1a062d232866164ae5112c702ceab361213ce44 the `RequestStack` was moved to `http-foundation`, because of this the `framework-bundle` now also depends on `http-foundation`: https://github.com/symfony/symfony/commit/b1a062d232866164ae5112c702ceab361213ce44#diff-3 (at least in services.xml).

We got an error while installing the framework-bundle `2.4.*` with `prefer-stable` in our composer.json. We currently get framework-bundle 2.4 with http-kernel and http-foundation 2.3. An alternative fix would be raising the requirement of http-kernel to 2.4, but I think this is the "purest" declaration of dependencies.

Update 1
## Dependency on config

In https://github.com/symfony/symfony/commit/05e9ca7509c6f084c602d7f0116c966992b0e7b9 the config component was updated with an xml reference dumper for configuration. In the same commit the frameworkbundle dump command is updated to make use of the 2 newly introduced classes. It is currently possible to get an installation with config `2.3`, which in turn leads to an exception when running the dump-reference command:

```
 $ app/console config:dump-reference framework
# Default configuration for extension with alias: "framework"
PHP Fatal error:  Class 'Symfony\Component\Config\Definition\Dumper\YamlReferenceDumper
```

Update 2
## Dependency on http-kernel
We just found out that the dependency on http-kernel should also be updated to `2.4`. That's because the framework-bundle injects the `RequestStack` now and doesn't set the request on the `RouterListener` service anymore. Without updating the dependency it is possible to get a `RouterListener` that is not aware of the request stack (< 2.4) and none of your routes will work.

*tests are failing because of some race condition I guess?*

Commits
-------

fe5d8f8 [FrameworkBundle] Update 2 dependencies (currently broken)
[Security] Added a missing field in SimpleAuthenticationHandler
minor #9540 [Security] Added a missing field in SimpleAuthenticationHandler (jakzal)

This PR was squashed before being merged into the master branch (closes #9540).

Discussion
----------

[Security] Added a missing field in SimpleAuthenticationHandler

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Added tests and made a small CS fix as a bonus.

Btw, the properties are protected. Do we really want to provide extension points here?

Commits
-------

d553347 [Security] Added a missing field in SimpleAuthenticationHandler
feature #9541 [Translation] make IdentityTranslater consistent with normal translator (Tobion)

This PR was merged into the master branch.

Discussion
----------

[Translation] make IdentityTranslater consistent with normal translator

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | n/a

The MessageSelector should not be required in the constructor of the IdentityTranslator because it's also optional for the [Translator](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Translation/Translator.php#L64).
I also fixed the TranslatorInterface phpdoc and the IdentityTranslator params similar to https://github.com/symfony/symfony/commit/90a20d78357f720493ec8905f41c962766506b83

Commits
-------

7cdb260 [Translation] make IdentityTranslater consistent with normal translator
[FrameworkBundle] use the new request_stack service to get the Request object in the base Controller class
bug #9553 [FrameworkBundle] use the new request_stack service to get the Request object in the base Controller class (hhamon)

This PR was merged into the master branch.

Discussion
----------

[FrameworkBundle] use the new request_stack service to get the Request object in the base Controller class

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Commits
-------

2e07338 [FrameworkBundle] use the new request_stack service to get the Request object in the base Controller class