[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
}
dry?)

```php
if (!is_array($method)) {
    $method = array($method);
}

foreach ($method as $m) {
    if ($this->getMethod() === strtoupper($m)) {
        return true;
    }
}

return false;
```