(#2771) - implement attachments=true for allDocs()

Not supported in CouchDB < 1.6.0, but Travis tests 1.6.1, so we should be okay.