Injector bug fix (singleton registration).
Injector bug fix: Objects are not prematurely destroyed.
Merge pull request #7 from gini/Injector_Bugfixes

Injector bugfixes