Fix for 'conflicted attachments bug'

Fix bug in processOneChangesBatch where multiple leaf revisions having attachments of the same name weren't handled properly. Previously attachments could be locally lost or overwritten in this scenario.
Be exact, `[docId, revId]`