(#2445) - err.reason -> err.message

See my comment [here](https://github.com/pouchdb/pouchdb/pull/2443#issuecomment-48097027).  This was just a mistake we made which leads to an unhelpful error message.