[FrameworkBundle] Serializer groups support

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT
| Doc PR        | not yet

Enable serializer groups in the full stack framework (including XML, YAML, annotations and caching).