storage integration

contains changes needed to integrate different storage modules to mb. (eg: cassandra, mysql, H2)

NOTE: merge after the code review is complete.
Missing throw statement added with commit https://github.com/wso2-dev/andes/commit/668173e8db831b1abdb767004f422f467a8f97f0