Cache constructor: additional check for LockStoreInterface...

... if not explictly provided and trying to use value store for
lock storing