added support for objects as dependencies
Merge branch 'master' of https://github.com/autoric/nject