Add diff command to the database interface.
Add listener interface to StorageDir.
Fix the SecureStorageDirBucket.

Previously the there was a default base dir that was equal to the branch
name.
Implement commit listeners for the Mailbox and the MessageBranch.
Missing SyncResultData class.