Add test name to @Test annotation so unit test reports will show something more interesting than 'Command line test'.
Fix test name to match class name.
Remove unused imports.
Remove unused imports and fix some minor generics warnings.
Remove unused state transfer related classes.
Use org.junit.Assert.assertEquals() instead of assert because this does not fail with NPE if the value is null
ISPN-2373 State transfer does not end because some segments are erroneously reported as unreceived

* Increase maxThreads to 6 for async transport executor during unit tests to prevent deadlock when an async task submits a second task and the queue is already full
* Fix computation of segments that need to be transfered in (previously there was bug causing some segments to be re-fetched on a CH update even though they were not newly added)
* Do not accept state in StateConsumerImpl unless we have an InboundTransferTask waiting for it
* StateConsumerImpl.addTransfers : moved check for already active transfers inside the loop to prevent creating duplicate transfers
* Rename StateTransferLock.transactionDataReceived/topologyInstalled to notifyTransactionDataReceived/notifyTopologyInstalled
* Better exception logging for commands submitted to async executor
* Better trace logging
* OutboundTransferTask sends StateResponseCommands synchronously in order to ensure they are received in the same order and the receiver can properly detect termination by looking for isLast flag
* StateTransferManagerImpl.stop must countdown initialStateTransferComplete latch to ensure that a cache that stops before it completes the initial state transfer does not keep the client waiting indefinitely in waitForInitialStateTransferToComplete()
* Log eventual errors from StaleTransactionCleanupService.onTopologyChange().
* Log eventual errors from TransactionTable.cleanupCompletedTransactions().
* Fix formatting of debug messages in TransactionTable.cleanupCompletedTransactions().
ISPN-2373 Need to avoid deadlock between tasks

It is possible that a task from async executor starts another task also on async executor pool then wait for termination of this second task. This leads to deadlock if the pool has no free threads and the second task gets queued. This situation appears in ClusterTopologyManagerImpl and can be solved by not starting a second parallel task if not really necessary. Such cases are triggerRebalance() and execution of the command on local node in executeOnClusterSync().
ISPN-2407 StateProviderImpl.getTransactionsForSegments can fail with an IllegalStateException

No longer cache the current topology in StateProviderImpl because it can get out of sync with the one stored by StateConsumerImpl. The current cache topology is accessed directly from StateConsumerImpl.
ISPN-2471 BatchAsyncCacheStoreTest fails randomly

AsyncStore.AsyncStoreCoordinator.run() termination condition should also check if all queued modifications are processed before terminating.
ISPN-2454: The current SQL query that checks table existence is under optimized on big database
ISPN-2490: Add XSiteAdminCommand to the CacheRpcCommandExternalizer.
ISPN-2446 Introduce tests for text processing and fuzzy Query matching
ISPN-2493 Adapt configuration properties to not require the 'hibernate.search.' prefix
ISPN-2493 most tests upgraded to use shorter property version
ISPN-2492 Rename the XSiteAdminOperations.status(String) method to siteStatus(String) to avoid overloading which
breaks RHQ
Add additional checks in the RHQ plugin metadata generation to avoid accidental duplicates
ISPN-2499 Add missing <versioning/> element to configuration schema
ISPN-2410 Skip the current transaction when checking for backup locks from older topologies
ISPN-2472 Transactional commands should not be forwarded to the tx originator

We don't forward non-tx commands to the command originator either,
but this doesn't fix the problem completely because for non-tx commands
we don't always know the "real" originator of the command (e.g.
if the command was forwarded to us, and we have to forward it again).
ISPN-2484 The callable result retrieval fails in case of retry