Make IS always use ConsistentKey ID allocation
Modify cache store adapter for locking

The cache store adapter unconditionally threw
UnsupportedOperationException when acquireLock(...) was invoked.
Instead of throwing an exception, it now checks a precondition that
the underlying manager has supportsLocking() true.