Added cyclic dependancy detection to DependancyInjectionContainer