fixes issue #127: Ektorp throws a NullPointerException if the connection to CouchDB is lost mid-read
fixes issue #124: Returning error when using a view query if the document contains an error property at any level