don't try to set revision if there was an error and there is none
make sure couchDB _id is a string, always
always try to JSON decode response content and debug dump it, because even couchDB errors are in JSON. include the content in the error attribute for better error handling
make order of result arrays irrelevant for all_docs tests by sorting them, version bump