Adds Query.noCache to replace CachingDatabase.QueryOptions since it's a very global concept.
Fixes DistributedLock#unlock not deleting the lock object due to caching.