Fix inject by type with factory bug.
Merge branch 'master' of github.com:typhoon-framework/Typhoon