first version of attachments, they can simply be added or gotten along with the documents
check in broken unit tests for attachments
getAttachment() is working now