[DependencyInjection] added a simple way to replace a service by keeping a reference to the old one
[DependencyInjection] Update dumpers and loaders, add unit tests