Couchdb pusher

These are the changes necessary to get the Pusher working with CouchDB when you have attachments.