Implement EZP-22811: Prepare Symfony container configuration for multiple storage engines

This PR resolves issue https://jira.ez.no/browse/EZP-22811

Extracted from https://github.com/ezsystems/ezpublish-kernel/pull/792.
Split from https://jira.ez.no/browse/EZP-22799 for easier review.

### TODOs
- [ ] write documentation