Refactor to modularize message store backend.
Merge branch 'develop' of github.com:vialink/viacrypt into develop