ISPN-2092 - Write skew check not detected in LOCAL mode when doing multiple modifications

* OptimisticLockingInterceptor does not handle PrepareCommands properly in LOCAL
   mode when there are multiple modifications. LocalWriteSkewCheckingLockAcquisitionVisitor
   is not invoked on this code path and no write skew check is done.

* DeltaAwareCacheEntry.getStateFlags() does not properly delegate to the wrapped
  entry and reports incorrect flags leading to false write skew check detection.

* Remove some unused imports from related classes

* Add WriteSkewTest.testCheckWriteSkewWithMultipleModifications() and fix some generics related warnings
ISPN-2080 - Cache Listener is not notified on cache replace

Fixed issue where cache listeners were not notified of cache
modification when a replace occurs.  Also added test that reproduce.
ISPN-2083 Configuration adaptor is ignoring properties for CacheLoaders
ISPN-2084 Have the common key types accept a consistent visitor
ISPN-2084 Use an existing Lucene index directly as a CacheLoader source
Minor test improvement
ISPN-2084 Dependency preparations for performance tests: add test helpers from Hibernate Search
 ISPN-2098 - DummyTxTest fails randomly

* Also take into account threads that do not remove the key
* Handle the case where a WriteSkewException is thrown earlier than commit time
ISPN-2097 - Tear down methods should run even if the test method failed

By default TestNG doesn't run methods annotated with `@AfterMethod`/`@AfterTest`/`@AfterClass` if the test method failed.
This means we have to write `alwaysRun=true` explicitly, or the method won't run after a failure and it may leave cache managers lying around.
ISPN-2089 Commit not working for distributed shared cache stores

Pretty much all DIST cache store operations should check the locality
of keys and take that into account when making decisions to operate
on the cache store, except one, clear. Treat this special case
differently in a explicit way to avoid breaking functionality in the
future.
ISPN-1948 View id updater now an interceptor instead of listener

Use a custom interceptor to provide stronger guarantees that the
address cache has been updated with a new entry before the view id
is updated. This avoids edge cases where the view id will be updated
before the cache contents.
ISPN-2101 Use the FETCH FIRST n ROWS syntax for Derby
ISPN-2099 Upgrade jboss-logging and logmanager

Upgrade jboss logging versions in parent/pom.xml:
 *   version.jboss.logging: from 3.1.0.GA to 3.1.1.GA
 *   version.jboss.logmanager: from 1.2.0.GA to 1.3.1.Final
ISPN-2102 Disable randomly failing test
ISPN-2106 Disable randomly failing tests
ISPN-2085 Disable failing test
javadoc typo
typo in Java doc of ReclosableLatch
Error message logging null rather than configuration value
Add toString implementation to DeltaCompositeKey