[DX][HttpFoundation] Allow to check multiple methods at once

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

This code allows to replace calls like:
```php
if (in_array($request->getMethod(), array('POST', 'PUT', 'PATCH'))) {
    // do something
}
```
With:
```php
if ($request->isMethod(array('POST', 'PUT', 'PATCH'))) {
    // do something
}
```php
foreach ((array) $method as $m) {
    if ($this->getMethod() === strtoupper($m)) {
        return true;
    }
}

return false;
```