[Console] Cleaned up the unit tests.
Add a getter for providers to the ChainUserProvider class
[HttpFoundation] getClientIp is fixed.

The getClientIp now returns ip of the earliest server in a proxy chain when all the servers in the chain are trusted proxies. Before this patch the getClientIp used to return null at such condition.
Some appropriate tests are added.
[Security] Removed unused var
fix overwriting of request's locale if attribute _locale is missing
[DomCrawler] added support for HTML5 'form' attribute
[WebProfilerBundle] removed next pointer class in a template
merged branch bamarni/patch-3 (PR #7544)

This PR was merged into the 2.1 branch.

Discussion
----------

[WebProfilerBundle] removed next pointer class in a template

It's not needed as there is nothing after the span here, eg. on a 404, see :
http://awesomescreenshot.com/0d5149an51

It displays "n/a ::".

Commits
-------

b0ba9fd [WebProfilerBundle] removed next pointer class in a template
[FrameworkBundle] fixed the discovery of the PHPUnit configuration file when using aggregate options like in -vc app/ (closes #7562)
[HttpFoundation] Fixed copy pasted comment from FlashBag in AttributeBag
merged branch phc/2.1 (PR #7569)

This PR was merged into the 2.1 branch.

Discussion
----------

[HttpFoundation] Fixed copy pasted comment from FlashBag in AttributeBag

| Q             | A
| ------------- | ---
| Bug fix?      | [no]
| New feature?  | [no]
| BC breaks?    | [no]
| Deprecations? | [no]
| Tests pass?   | [yes] I assume : only changed a comment word
| License       | MIT

Commits
-------

815eb61 [HttpFoundation] Fixed copy pasted comment from FlashBag in AttributeBag
Fixed phpdoc blocks to show that $uri can be passed as a string or ControllerReference (rather than just as a string)
updated CHANGELOG for 2.2.1
Merge branch '2.1' into 2.2

* 2.1:
  [HttpFoundation] Fixed copy pasted comment from FlashBag in AttributeBag
  [FrameworkBundle] fixed the discovery of the PHPUnit configuration file when using aggregate options like in -vc app/ (closes #7562)
  [WebProfilerBundle] removed next pointer class in a template
updated VERSION for 2.2.1
bumped Symfony version to 2.2.2-DEV
Updated parsers to support namespaces (fix for ClassParser included)
[HttpKernel] Remove args from 5.3 stack traces to avoid filling log files, fixes #7259
Fix Process timeout
Round stream_select fifth argument up.

- This argument must be an integer
- An argument equal to 0 should be avoided as it consumes too much CPU time