Enable to set custom number of requests after which flashes will be deleted automatically

Enable to set custom number of requests after which flashes will be deleted automatically (see #3956) - so it could be set in components config if nesessary:

```
    'components' => [
        ...
        'session' => [
            'flashesQueueDepth' => 3
        ]
```