lib-storage: Moved more of dbox attachments code to generic code.
lib-storage: Added support for saving mail attachments separately via filesystem API. Currently this works only with sdbox and mdbox backends.