(#810) - attachments' stub in all docs

There was no `stub:true` in doc's attachments. Also remove `opt.attachments` from api since there's no such option in couchdb.