Generify base DIST functional test to allow different key/value types
ISPN-3477 Simplify MarshalledValue by only keeping binary format

* Remove Cache.compact() method (this might still create problems
for those who have extended the Cache interface or have created
delegate implementations, i.e. AS Clustering guys).
* Simplifies MarshalledValue a lot getting rid off a lot of complex
code that was used to either keep instance or binary format.
* With this change, store as binary works as defensive without
the need of any extra parameters to be configured
(Sanne will like this).
* Deprecated defensive configuration methods and XML.
* Adjusted tests according to new expectations.
* Added a Util.hashCode(byte[], size) method that calculates hash
code based on array contents up to a certain size limit.
* Customise MarshalledValue JDK serialization to support environments
outside the cache reasonably.
* Adjusted query cache assertions which should be based on
Object.equals() and not ==.
ISPN-3516 Remove deprecated API

* org.infinispan.loaders.remote.wrapper.EntryWrapper class
ISPN-3516 Remove deprecated API

* StreamingMarshaller.startObjectOutput method
ISPN-3516 Remove deprecated API

* AdvancedCache.getCacheEntry method
ISPN-3516 Remove deprecated API

* AtomicMapLookup.getAtomicMap method
ISPN-3516 Remove deprecated API

* org.infinispan.config package
ISPN-3516 Remove deprecated API

* org.infinispan.context.FlagContainer class
ISPN-3516 Remove deprecated API

* DistributionManager.isLocal method
ISPN-3516 Remove deprecated API

* TxInterceptor.setStatisticsEnabled method
ISPN-3516 Remove deprecated API

* GridFile.delete method
ISPN-3516 Remove deprecated API

* DeadlockDetectingLockManager.getLocallyInterruptedTransactions method
ISPN-3370 Switch Lucene test to per request connection
Incorrectly removed EmbeddedCacheManager.defineConfiguration() method
ISPN-3519 Upgrade to JGroups 3.4.0.Beta1
better error message when preload is not configured correctly
ISPN-3510 Infinispan 6.0 should be able to parse 5.2.x config files and use 5.2.x custom cache stores
ISPN-3510 Infinispan 6.0 should be able to parse 5.2.x config files and use 5.2.x custom cache stores

* added support for parsing old JDBC files
ISPN-3510 Infinispan 6.0 should be able to parse 5.2.x config files and use 5.2.x custom cache stores

* added the deprecated files removed fromt the core
wip