[FrameworkBundle] Enable replacing of services

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #5920
| License       | MIT
| Doc PR        | TODO

- [x] Write Unit Tests
- [ ] Find good name for tag, and arguments
- [ ] Decide should this belong to DI component or FrameworkBundle?