Fix some of the resolver.reject references to return Error objects
Merge pull request #118 from skiadas/reject-errors

Fix some of the resolver.reject's to return Error objects