Moved automatic IFactory<T> registration from Context to Container.