Fixed compiler error in example
Fixed issue #7
Fixed IoC RegisterType with singletons