ISPN-2470 Runnable execution with DistributedExecutor fails for
REPL_SYNC mode
ISPN-2467 Introduce a test to verify commit operations to remote nodes get indexed
ISPN-2467 With indexLocalOnly=false remotely originated changes are not indexed when in a transaction
ISPN-2479 Test for replace operation on same index
ISPN-2479 Update of entry fails to cleanup when previous entry is using a different index
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.
Tests are added for testing DistributedExecutionCompletionService .