Added some registration extensions for Autofac to make it easier to configure test lifetime for components