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.
Change ReplicatedCHFactory to only replace leavers in updateMembers()

Uneven primary ownership should be dealt with in rebalance() only.
Delegate the isBalanced() check in DefaultRebalancePolicy to the CH factory

Allows waitForRehashToComplete() to work even if the CH factory allocated
less than numOwners owners to each segment.