EXP-42. Adds KeyValueStores trait.

KeyValueStores provides access to kvstores to the various stages of
a model spec.

Reviewed by: kiyan