Correctly associated fetched attachments with their revisions:

Key the atts HashMap by doc id and rev id