[DependencyInjection] Dump and Load Scopes

fixes #8539, see problem description over there.

If a ContainerBuilder Instance has Scopes defined, they are now dumped to XML and YML Files. The PhpDumper already does the same.
The Loaders now also load Scopes from file and registers them at the ContainerBuilder.