Bug fix to support dependencies on sinon.stubs. Return function when dependencies cannot be resolved.
Merge pull request #4 from arobson/master

Bug fixes around advanced function resolution