ISPN-2142 APPLY_STATE in StateTransferControlCommand uses an InvocationContext having local=true

* Fix StateConsumerImpl to use a remote context instead
* BaseReIndexingTest must use builder.indexing().enable().indexLocalOnly(false) otherwise descendant test classes make no sense after fixing apply state context
* Added subclasses for StateTransferQueryDistributedIndexTest, PersistentStateTransferQueryDistributedIndexTest, SharedCacheLoaderQueryDistributedIndexTest in order to test also with indexLocalOnly=true and a distributed infinispan index
* Update list of dependent issues for disabled test SharedCacheLoaderQueryIndexTest and SharedCacheLoaderQueryDistributedIndexTest
* Call QueryInterceptor.updateKnownTypesIfNeeded() even for updates that are not local. This ensures that all types for data received via state transfer are known even if the index is distributed and nothing was actually indexed locally and will prevent eventual "org.hibernate.search.SearchException: There are no mapped entities. Don't forget to add @Indexed to at least one class" when doing queries.
Cleanup QueryInterceptor/LocalQueryInterceptor.injectDependencies()

The comments on LocalQueryInterceptor.injectDependencies() regarding inject limitations for non-core classes are no longer valid so we can now get rid of this method and have injection in parent only.
ISPN-2337 Review API for Query result iterators
ISPN-2337 New query iterator API: improve javadoc
ISPN-2361 AbstractTxLockingInterceptor.lockKeyAndCheckOwnership() anomalies: can wait indefinitelly or it can wait too little due to spurious wakeups

* Extract the check for pending transactions into a separate method that is called for both local and for remote transactions - this eliminates duplication.
* Execute AbstractCacheTransaction.waitForLockRelease() in a loop in order the cope with spurious wakeups.
* Change waiting time termination condition to avoid waiting with 0 timeout (indefinitelly).
* Add CacheTransaction.waitForLockRelease() javadoc documenting the spurious return issue.
ISPN-2311 Make Loaders and Stores more fluent
ISPN-2293 New faster, safer, async store thanks to Karsten Blees

* New async store implementation from Karsten Blees
* Faster implementation with better solutions for ISPN-1174 problems,
including better encapsulation.
* Reverting most of async store changes introduced in ISPN-1174 except
the tests and the component metadata storage work.
* Created an async store stress test that as well as measuring
performance, it verifies that the contents written are correct.
* Fixed async store tests to work with new async store.
* Fix statistics calculation in MapStressTes.
* Using atomic integer in dummy in memory cache store to record
statistics, hence reducing its impact on performance tests.

Signed-off-by: Karsten Blees <blees@dcon.de>
ISPN-2364 Update Cassandra Cache Store to latest fluent configuration
API
ISPN-2357 New coordinator installs old CH containing crashed members

When a node becomes the coordinator, it should not include nodes that
that didn't respond to the cache status request in the consistent hash.
ISPN-2357 Serialize topology update commands

Synchronize broadcasting of CH_UPDATE commands so that it's not possible
for the cluster members to receive them out-of-order.
JGRP-1552 Workaround for IllegalStateException in JChannel.connect()
ISPN-2363 Allow overriding of startServer JMX port via environment variable
ISPN-2289 Report number of active local and global server connections
Revert "ISPN-2289 Report number of active local and global server connections"

This reverts commit 2f1b2458f4efc196e801dd647a9700b3171c3a36.
ISPN-2289 Report number of active local and global server connections
ISPN-2289 Fix server JMX unregistration when server stopped

* Also fixed a bunch of test to avoid leaking cache managers and make
sure they don't end up with random NPEs.
ISPN-2368 Two rebalances in parallel

The "is rebalance in progress" check was effectively outside the
synchronized block.
ISPN-2365: Prevent txs with no modifications from being replicated to a remote site.