Remove unused class MembershipArithmetic
ISPN-2814 RpcManager doesn't return values properly

* Add proper wrapping of ReplicableCommand return values/exceptions into Response objects, to behave exactly as in case of CacheRpcCommands
* Add unit test using some custom commands to prove result wrapping works identically for CacheRpcCommands and ReplicableCommands in general
* CommandAwareRpcDispatcher checks i the result is already a Response to avoid double wrapping for legacy commands that do their own wrapping internally
ISPN-3033 Lucene index stored in a StringBased CacheStore can get an unaligned bufferSize

There is no test as there was a test already; just that the existing test wouldn't
catch this case because the bufferSize wasn't part of the equals contract: the
assertion used the key.equals to verify correct interpretation.
Fixing the equals activated the unit test: org.infinispan.lucene.Key2StringMapperTest

NoopSegmentReadLockerTest had to be fixed too as there was a mistake which wasn't spotted
as it also took advantage of the same equals flaw.
ISPN-3041 Verify Query tuning parameters are applied
ISPN-3026 Upgrade Query to Hibernate Search 4.3.0.Alpha1
ISPN-2985 Allow passing in a pre-built SSLContext to the HotRod server and client (for Server usage)
ISPN-3040 Fix parent POM schema compatibility by placing combine.self on the appropriate elements
Move some needlessly verbose logging from debug to trace and fix misspelling
Add a bit of logging and replace viewId with topologyId
RehashAfterJoinWithPreloadTest cleanup
State transfer code cleanup

* Rename StateTransferManager.notifyEndOfTopologyUpdate() to notifyEndOfRebalance() to reflect its actual purpose
* Remove unused method StateTransferManager.isLocalNodeFirst()
* Clarify javadoc LoLocalTopologyManager.confirmRebalance()
ISPN-2589 NPE in InvalidateL1Command

This NPE can appear in both DIST and REPL mode when we process a topology update in which the current node is not a member.

* There is no reason to invalidate segments if we are not a member, so the call to StateConsumerImpl.invalidateSegments() is guarded with a membership check. This also avoids the NPE.
* StateConsumerImpl.invalidateSegments() was wrongly using CommandsFactory.buildInvalidateFromL1Command where it should actually be buildInvalidateCommand()
* Extract all the logic to restart broken transfers from failed sources into a separate method (StateConsumerImpl.restartBrokenTransfers())
* Rename StateConsumerImpl.notifyEndOfTopologyUpdate() to notifyEndOfRebalanceIfNeeded() to clarify its purpose
* Remove StateConsumerImpl.activeTopologyUpdates member as all the logic regarding it has long become redundant
* Remove one of the overloaded variants of CommandsFactory.buildInvalidateFromL1Command that is no longer used
ISPN-2173 NPE when using XA enlistment without recovery

If recovery is not enabled the call to TransactionXaAdapter.forget() must be no-op instead of failing due to NPE.
ISPN-2549 Invalidation mode caches with pessimistic transactions may result in stale remote locks

* In transactional mode InvalidationInterceptor.invalidateAcrossCluster() should not just send a bare InvalidateCommand to the other nodes. The invalidate command should be wrapped in a PrepareCommand so it executes in a transaction and locks can be acquired and release appropriately.

* EntryWrappingVisitor must also visit InvalidateCommands. This was not needed until now because invalidation was never executed in tx.
Make log4j config output into a file that doesn't rely on an environment variable.
because of alwaysRun = true in @AfterTest, teardown methods are being invoked even if the setup methods haven't been executed, resulting in NPE's when trying to shutdown uninitialized resources
force a single thread for the x-site suite and remove the suite runner as xsite tests can be executed now: mvn test -Ptest-xsite
ISPN-2912 Drop server compatibility parsers
ISPN-3052 Upgrade to Aesh 0.33.1
ISPN-3042 Upgrade the AS integration modules and test harness to verify that they work against EAP 6.1