Simplify injectionextensions

I changed the InjectionExtensions for autofac a bit so it's less easy to make a mistake in the order of registration.