COUCHDB-259 allow arbitrary data to be stored along attachments

Also: Allow content_type to be changed via stub structure as well.