Updated MemoryStore to share IndexedDBStore interface.

It is needed an extra parameter "category", which should be a string.
This provides another level of classification.