[Filesystem] copy() is not working when open_basedir is set

More details: https://bugs.php.net/bug.php?id=64634
merged branch stloyd/patch-3 (PR #7869)

This PR was merged into the 2.1 branch.

Discussion
----------

[Filesystem] copy() is not working when open_basedir is set

More details: https://bugs.php.net/bug.php?id=64634

Commits
-------

10dea94 [Filesystem] copy() is not working when open_basedir is set
[DependencyInjection] Add suggestion on ParameterNotFoundException
[DependencyInjection] Add suggestion on ServiceNotFoundException
[DependencyInjection] Made tests more accurate
[DependencyInjection] Added some check before guessing similar parameters
use while loop for iterating

The other method limits the number of results without taking the
constraints into account.

Fixes GH-7883
merged branch henrikbjorn/filesystem-limit (PR #7886)

This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #7886).

Discussion
----------

[HttpKernel][Profile] Fixes #7883

Commits
-------

0172fc1 [HttpKernel][Profile] use while loop for iterating
remove validation related headers when needed
merged branch bamarni/issue-6977 (PR #7857)

This PR was submitted for the master branch but it was merged into the 2.1 branch instead (closes #7857).

Discussion
----------

[HttpCache] remove validation related headers when needed

| Q             | A
| ------------- | ---
| Bug fix?      | [yes]
| New feature?  | [no]
| BC breaks?    | [yes]
| Deprecations? | [no]
| Tests pass?   | [yes]
| Fixed tickets | [#6977]
| License       | MIT

Fixes #6977 by removing validation related headers when there is at least one embedded response.

I've added an embedded response counter because the current check was wrong I think, it was checking count($this->ttls) which isn't updated for validateable responses.

And for the BC break, looking at the interface PHPDoc description, it supposes add() method should only be applied on esi responses and update() takes the master one at the end, what do you think?

Commits
-------

bb80139 [HttpCache] remove validation related headers when needed
merged branch lyrixx/debug-dic (PR #7861)

This PR was merged into the master branch.

Discussion
----------

[DependencyInjection] Add suggestions on ParameterNotFoundException

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

Commits
-------

e989d8b [DependencyInjection] Added some check before guessing similar parameters
9300157 [DependencyInjection] Made tests more accurate
729db0f [DependencyInjection] Add suggestion on ServiceNotFoundException
f44db48 [DependencyInjection] Add suggestion on ParameterNotFoundException
[DependencyInjection] fixed ? position in some exception messages (refs #7861)
[FrameworkBundle] Place initialization of $bundlesDir out of foreach loop

Code enhancement. $bundlesDir variable doesnt't need any bundle information for initialization. So it must be placed out of the loop to not process unnecessary operations.
[Swiftmailer] bumped allowed versions
Merge branch '2.1' into 2.2

* 2.1:
  remove validation related headers when needed
  use while loop for iterating
  [Filesystem] copy() is not working when open_basedir is set

Conflicts:
	src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php
Merge branch '2.2'

* 2.2:
  [Swiftmailer] bumped allowed versions
  remove validation related headers when needed
  use while loop for iterating
  [Filesystem] copy() is not working when open_basedir is set
updated VERSION for 2.3.0-BETA1
bumped Symfony version to 2.3.0-DEV-DEV
[Debug] tweak for #6474
merged branch bamarni/patch-1 (PR #7895)

This PR was merged into the master branch.

Discussion
----------

[Debug] tweak for #6474

This keeps the previous behavior as described in the comment.

Commits
-------

7d67b5b [Debug] tweak for #6474