Extract constant
ISPN-4416 Implement sorting and pagination for non-indexed querying (phase I)

This is a simple implementation that sorts all the results just before returning them to the requestor. A second implementation will be provided based on ISPN-4358 when it becomes available.
Most of the failing non-indexed query tests are solved by this.

* Also adds *QueryDslconditionsTest.testInvalidEmbeddedAttributeQuery() to prove ISPN-4423 happens only in remote lucene based mode, but not in the other modes
* Add param validation and tests for pagination for both indexed and non-indexed sorting
ISPN-4425 Validate format of comparison operands (non-indexed query)

* Validate operand format for numeric properties
* Validate operand for embedded entities -> do not allow such predicates
ISPN-2956 Hot Rod conditional operations and transactional caches

* Transactional caches are required in order to be able to guarantee
correct retry logic for Hot Rod operations relying on conditional
operations, or operations where the previous value is returned.
* WARN messages have been added for when conditional or operations
needing previous value are executed against non-transactional caches.
* Documentation updated with a section on Java Hot Rod client failover
capabilities and its effects on conditional operations.
ISPN-4414 Compatible failover request load balancer for HR clients
ISPN-4291 Poor REPL state transfer performance with cache stores

* Skip the cache store iteration if the local node didn't lose any segments
* Move the invalidation after receiving the transaction data, so that write
  commands can be performed in parallel.
ISPN-4424 Synchronize updating cache entry and making a copy
ISPN-4424 Synchronize updating cache entry and making a copy
- making the CacheEntry immutable is not enough, the whole CacheEntry hierarchy needs to be made immutable
- using clone is simpler that making the hierarchy immutable