ISPN-4678 Trim down ExpandableMarshalledValueByteStream to the actual data length before storing in cache
ISPN-4734 Deploy marshaller for event parameters and filter/converter

* Allow deployment of jar with marshaller implementation to be used
to unmarshaller event parameters and unmarshall filter/converter
callback parameters.
ISPN-4736 Implement efficient size operation in Hot Rod 2.0

* For local or replicated caches, it queries the cache itself to
calculate size of cache. Persistent stores are taken into account.
* For distributed caches, it uses M/R tasks to get the number of
total keys in the cluster.
ISPN-4470 Remove tabs and fix other formatting issues
ISPN-4470 Implement RemoteCache.size() w/ new Hot Rod size command

* Implement RemoteCache.size() using new Hot Rod 2.0 size operation.
* This provides an accurate element count that works with distributed
caches and persistent stores.
ISPN-4736 ISPN-4470 Size response code should be 0x2A
ISPN-4446 Signal components of cache removal

* Since stop() takes no parameters, make the remove cache command
signal components of cache removal before cache stop, so that they can
do their job.
ISPN-4567 Add arquillian debug for AS Client modules tests

* This is done to get more information out of the arquillian
lifecycle events for when this issue appears again.
ISPN-4766 Cache can't start if coordinator leaves during join
and joiner becomes the new coordinator
ISPN-4796 Compilation errors in Eclipse
ISPN-4502 Use 127.0.0.1 everywhere instead of localhost

* Use 127.0.0.1 everywhere instead of localhost
* Add one LDAP entry for LDAP service on 127.0.0.1
* Add missing dependency to enalbe ApachDS logging to get more details about the failures
* Suppress console output
* Don't reuse forks to ensure there are no interference between tests
  (see discussion uinder https://github.com/infinispan/infinispan/pull/2900)
ISPN-4025 Cross-Site State Transfer: failure scenarios
ISPN-4801 ConcurrentModificationException on the FileListCacheValue
ISPN-4803 Set JBOSS_HOME for server integration tests
ISPN-4717 Add Hot Rod error codes for suspicions and lifecycle errors

* Added two new error codes for situations where nodes are suspected
and when cache or cache managers are stopping or stopped.
* This makes it easier for clients to decide whether to failover
or not.
ISPN-4717 Filter both members and segments when sending new topology

* Segments were filtered based on the content of the topology cache
which provides the endpoint information. This is not enough since
otherwise views themselves are not updated correctly, even if
segment information is.
* Instead, filter both view and segment to be sent to client.
ISPN-4563 Create unit test to replicate concurrency issue

Change-Id: Id381cc57965b8520111ad5337c619d8d9b4e75aa
ISPN-4563 Fixed comparing configuration in JCacheManager
ISPN-4563 JCache createCache/getCache synchronized in cache resolver

* This applies only to the DefaultCacheResolver, which sticks to using
standard javax.cache mechanisms to find cache managers in the system.
As a result of this, the class limits itself to using purely
javax.cache APIs, which is why synchronization is required.
* This fix is not required for the InjectedCacheResolver because this
one is based around the fact that you're in an environment where you
are injecting Infinispan CacheManager instances, and hence the cache
resolver can wrap those with whatever it wants. In fact, it directly
uses JCacheManager concrete class, allowing it to call configureCache
method which really acts like a getOrCreate method in a safe way.
* The changes in DefaultCacheResolver are needed because
resolveCache() could be called concurrently, so given the limitations
of createCache/getCache, synchronization is needed to guarantee
correct behaviour.
* JCache API specifies that createCache() returns an exception if
the cache name is alreadyd defined. It would have been better for it
to return the Cache itself if present, since that way synchronization
would have been responsibility of the JCache provider.
ISPN-4563 Rename configureCache to getOrCreateCache in JCacheManager

* The new name better represents the conditional side of this method,
which is way more useful for JCache end users. Unfortunately, since
this method is currently only present in a concrete class, its
usability is a limited.