function MemoryStorage(data) {
        this.data = data || {};
    }
MemoryStorage, as the name implies, stores the preferences in memory.
This is suitable for single session data or testing.

@constructor
@param {?Object} data Initial data for the storage.