Made Kernel.Current thread-safe.
Refactoring to use InstanceProvider and TypeDictionary.
Making TypeDictionary thread-safe.
Reimplemented singleton injection using TypeDictionary and ReadWriteLock.