ISPN-4112 RHQ library plugin: restart cache -- availability report DOWN
but cache running

* Added back in availibilty down for cache not running
* Added server changes to also report DOWN when cache not running
ISPN-4265 Make it possible to deploy c3p0 in OSGi
ISPN-4276 Make JPA cache store work in Karaf
ISPN-4422 Packages with custom classes are not exported properly for HotRod tests in OSGi

* change access protocol to http-remoting-jmx for WildFly
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
ISPN-4437 L1 cache is enabled by default in server
ISPN-4387 Write Skew Check does not work with Passivation

* Some refactor on ManualEvictionWithSizeBasedAndConcurrentOperationsInPrimaryOwnerTest
ISPN-4431 Make the CLI codecs add an EntryVersion to the metadata
- Also increase the CLI timeout
ISPN-4400 Takes a long time to start up all clusters which has a lot of segments

This is mainly caused by the myriad of internal copies performed by the CopyOnWriteArraySet used in InboundTransferTask for tracking the segments being requested during ST. This collection is updated way too frequently if we have a large number of segments. It seems that using a simple HashMap and doing external synchronization works better both in terms of time and memory.
ISPN-3959 JdbcBinaryStore's expiration locks buckets indefinitely
Added call for PurgeListener to LevelDBStore
ISPN-4401 OSGi - PAX-URL needs to work when the local mvn repo is passed from a configuration file
ISPN-3530 ISPN-1855 Keep per-cache CH to route requests correctly

* It fixes an issue where accessing non-distributed caches can
break topology updates.
* Add asymmetric routing test that forces each server to hash
only to itself to replicate situations where different distributed
caches have different CH.