[OptionsResolver] fix counting of options

and make sure the tests are compatible with phpunit strict mode
[OptionsResolver] fix invalid value exception formatting
[OptionsResolver] fix calling resolve from within closure
[OptionsResolver] add missing exception based on OutOfBoundsException and clarify message
decodes some special chars in a URL query
feature #12223 decodes some special chars in a URL query (dawehner)

This PR was merged into the 2.6-dev branch.

Discussion
----------

decodes some special chars in a URL query

| Q             | A
| ------------- | ---
| Bug fix?      | yes|no (not sure :) )
| New feature?  | no
| BC breaks?    | yes|no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12200
| License       | MIT
| Doc PR        |

Commits
-------

cd2c2e3 decodes some special chars in a URL query
add XML schema definition for the DebugBundle
bug #12294 [OptionsResolver] fix count() and exceptions (Tobion)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[OptionsResolver] fix count() and exceptions

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

Please see commits.

Commits
-------

b93c4c0 [OptionsResolver] add missing exception based on OutOfBoundsException and clarify message
8bcbcc3 [OptionsResolver] fix calling resolve from within closure
dc1250c [OptionsResolver] fix invalid value exception formatting
6c2130f [OptionsResolver] fix counting of options
feature #12336 [DebugBundle] add XML schema definition for the DebugBundle (xabbuh)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[DebugBundle] add XML schema definition for the DebugBundle

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

Commits
-------

d9c239d add XML schema definition for the DebugBundle