[WIP][HttpFoundation] enable ParameterBag's set/has/remove to also handle deep parameters

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #5040
| License       | MIT

- [ ] Doc PR

Allows the methods to handle deep parameters.
They now offer an additional boolean parameter to allow parsing of an array-syntax in the key.
The same behavior was already available for the get method.