Add functionality to sample backend

* set_properties
* save (message)
* delete_message
* create_attachments
* get_attachment_ids
from old logic: shouldn't this be `self.folder.basedict["message_cache"].remove(msg)`?