pouchdb/pouchdb — pull request #1890 by krists (2014-04-10 12:07:00+00:00)
Title: Issue #1001. Failed replications calls complete callbacks correctly

Callback is executed correctly if it is passed in options object.