Support for attachment handling

Allow support for retrieve attachments in a document: https://github.com/dancryer/Chill/issues/12