Use waitForRehashToComplete() instead of waitForClusterToForm() when killing a node

waitForClusterToForm() will fail if it sees too many members, see ISPN-4194
ISPN-4231 DistSyncL1FuncTest.testRemoteGetArrivesButWriteOccursBeforeRegistration random failures

Restart the cache after each method, to prevent commands from the previous
test method from interfering.

Should also fix ISPN-4133 DistSyncL1FuncTest.testNonOwnerRetrievesValueFromBackupOwnerWhileWrite
On exception RESTHelper would get into NPE rather than providing helpfull details as the catch code seems intentioned to do
ISPN-4207 Lock container ignores key Equivalence
ISPN-4231
DistSyncL1FuncTest.testRemoteGetArrivesButWriteOccursBeforeRegistration
random failures

* The annotation doesn't work properly on the base class
* Had to instead change it so the constructor modified cleanup variable
Add more info to SyncConsistentHashFactory javadoc

* The current write up explains what SyncConsistentHashFactory does,
but it does not explain why. This commit updates the javadoc to
provide more insightful information on the rationale behind
SyncConsistentHashFactory.
ISPN-4230 add missing dependency to websocket module
ISPN-4233 Infinispan in OSGi depends on hardcoded Parser version 60

Updated version to 70.
ISPN-4236 RHQ JMX plugin causes Cache/CacheManager to report as not
available

* Removed extra calls that were causing all mbeans to be queried
ISPN-4243 Create features file for LevelDB cache store for use in Karaf
ISPN-4244 Create features file for Remote cache store for use in Karaf
ISPN-4232 HotRod client cannot be installed in Karaf due to missing dependency on infinispan-core

Make infinispan-commons a standalone bundle.
ISPN-4234 OSGi core bundle - missing javax.security.* dependency
ISPN-3894 - SingleFileStore can optimize space usage by coalescing adjacent free entry blocks.
Fix failing junit test for SingleFileStoreStressTest as per findings by Dan Berindei
ISPN-3894 SingleFileStore can optimize space usage by coalescing adjacent free entry blocks

* Extract method for existing entry allocation
* More threads in SingleFileStoreStressTest
* Log messages update
ISPN-800 Tests for library mode

* also formatting changes in core/pom.xml
ISPN-800 The osgi test bundle should export the test packages as they might contain classes which need to be loaded by ispn.
ISPN-4097 Add SKIP_CACHE_LOAD flag for Hot Rod
ISPN-3838 L1 entry added by ST when already invalidated

* Removed L1OnRehash as it is broken with a concurrent modification