ISPN-2693 Print correct hash code for byte arrays
ISPN-2662 Invalid formatting character in TxCompletionNotificationCommand

Fix typo in trace log.
Lower the number of written keys to make the test quicker.
ISPN-2764 DataRehashEvent with pre == false has null getConsistentHashAtEnd()

StateConsumerImpl should record the CH at the time rebalance was started and the current CH when it ends and use these for broadcasting the DataRehashedEvent(pre==false). The old code was broadcasting currentCH (for oldCH) and null (for newCH).
ISPN-2150 Data Rehash Event: getMembersAtStart/End returns empty set

* Remove membersAtStart, membersAtEnd collections from EventImpl. These can be derived from the CHes.
* Re-implement getMembersAtStart/End to return the members from the corresponding CH if not null or return an empty collection otherwise.
* Remove some unused methods from EventImpl.
MultipleCacheManagersTest.killMember should remove the killed member
from the cache managers list
ISPN-2712 Initial state transfer doesn't appear to all be persisted when using eviction in a replicated cluster

NBST uses transactional put commands to write the state and also forces local mode. Because local mode is forced TxInterceptor does not add the state transfer put command to the modification list of the transaction (no need to replicate the modification remotely). CacheStoreInterceptor relies on the modification list to later update the store when the transaction commits. Since the modification list is empty nothing is actually written to store causing this issue. The problem is not easily observable unless the cache uses eviction and the cache is transactional. For non-tx caches the modifications are written to store immediatelly and are not enqueued in a modification list until tx commit time so they are not affected by this bug.

* Add short test to reproduce the scenario from MODE-1754 (works on 5.1.x and fails on 5.2)

* Modify TxInterceptor to add all modfications to the transaction even if they are local only.

* Modify AbstractCacheTransaction.getModifications() to filter out the local only modifications and to never return null (an empty collection is preferrable).

* Add CacheTransaction/AbstractCacheTransaction.getAllModifications() to return all modifications including the local-only and use it in CacheStoreInterceptor instead of getModifications()/hasModifications().

* CacheStoreInterceptor.prepareCacheLoader checks every modification if they should be skiped before converting them with StoreModificationsBuilder. This is needed to ensure modifications with SKIP_CACHE_STORE do not get through. Previously this was an issue but it was never observed because SKIP_CACHE_STORE was usually used in conjunction with CACHE_MODE_LOCAL which meant the modification was already ignored.
ISPN-2773 Can't access a non-clustered cache via HotRod

Check for a null RpcManager in AbstraceEncoder1x.getTopologyResponse.
ISPN-2774 ClientSocketReadTimeoutTest takes more than 3 minutes to run
ISPN-2665 - Multiple tests in ReplSyncDistributedExecutorTest failing randomly
ISPN-2775 Wrap cachestore "complexTypes" in "elements" so that they
actually can be used as such
Some minor test improvements.
ISPN-2776 MIMECacheEntry should implement equals() properly to allow Cache.replace(oldValue, newValue) to work

Equals compares contentType and data array.
ISPN-2697 Add new flag to force a cache operation to be RSVP'd
ISPN-2483 State transfer issue with the transactions for which the originator has crashed

Remove StaleTransactionCleanupService and clean the stale transactions
explicitly from StateConcumerImpl.onTopologyUpdate, after applying any
transferred transactions.

Since now it's more likely to have stale transactions on the provider,
the provider also checks if the originator has left the cache before
sending a transaction.
ISPN-2778 When a cache is restarted, the LEAVE and JOIN commands are not ordered

Make the LEAVE command synchronous. Since the cache start/shutdown is
already synchronized, this will prevent the cache from restarting before
the coordinator has removed it from the members list.
ISPN-2768 - Write new tests for Query module

  * New tests are added to Infinispan Query module testing Clustered Queries;
  * New tests are added for testing Queries on Topology Aware nodes;
  * New tests are added testing programmatic configuration for mass indexers;
Add missing annotations and toString, the latter to improve readability of logs
ISPN-2708 Fix support for custom marshallers
ISPN-2784 ReplStateTransferCacheLoaderTest fails randomly in FileCacheStore.start()

This failure seems platform related. Will use the same approach to create the temp dir as in FileCacheStoreTest.