Some improvements (couchdb-harness progress)

Makes some couchdb-harness tests pass. (in bulk_docs, attachment_names & basics (after nick-thompson/couchdb-harness#3)).
The pouchdb tests still pass without it, but which couchdb test did this fix?  Just curious.