Using nano to upload attachments

Requires nano to upload on couchdb and supports new parameter "doc" for choosing in wich document update attachments