ISPN-3281 Deadlock in non-transactional caches during rebalance

If the topology id on the primary owner is greater than the one on the
originator, send the command back to the originator with the higher
topology id.
ISPN-3274 Cleared legacy Configuration imports in Server modules
ISPN-3242 ISPN-3284 Enforce building against JDK7 and drop useless dependencies

Build against JDK7 but verify that we are compatible with JDK6.
Run testsuite against JDK6 if the JAVA_HOME_16 environment variable is set
Drop useless dependencies which we had to keep around because of http://bugs.sun.com/view_bug.do?bug_id=6550655
Other minor pom cleanups
ISPN-3297 RemoteCaches cannot be assigned to BasicCaches anymore in the CDI module
ISPN-3220 Include a maven-settings.xml Maven configuration file and a build.[sh|bat] script to get people started with building
ISPN-3299 ReplTotalOrderStateTransferFunctional1PcTest.testSTWithThirdWritingTxCache random failures
ISPN-3262 Add base test for clustered cache stores and impl for LevelDB
ISPN-3262 Check cache status before loading keys in LevelDBCacheStore
ISPN-3170 create a Metadata store
ISPN-3308 Change the tests' JGroups rejection policy to Discard

Includes some smaller changes to make the test configuration more like the
production configuration.
the jdk6testsuite is not activated by a system property now.
ISPN-3289 PutForExternalRead should only write the value on the originator once

Use the same condition to decide whether a PFER should write to the data
container as for a non-tx put, even in tx caches.
ISPN-3231 Skip TransactionCompletionNotification for autoCommit transactions with 1PC commit
ISPN-3302 Update the AS integration modules for the commons dependency
ISPN-3232 Avoid marshalling twice LevelDBCacheStore entries

* Switched purgeExpired() to submit a callable and if the purge is
synchronous, use the future to verify if the purge completed.
ISPN-3249 Finished Lucene test migration
ISPN-3249 Removed some other legacy Configurations that cropped up
ISPN-2714 TopologyAwareTwoNodesMapReduceTest.testInvokeMapperCancellation test fails randomly

SimpleTwoNodesMapReduceTest.testInvokeMapperCancellation used a static
counter, replace it with a static map of barriers, keyed with the name of
the actual test class. That way, subclasses like
TopologyAwareTwoNodesMapReduceTest will each use their own barrier, and
they will be able to run in parallel.
ISPN-3313 Add Infinispan 6.0 parsers
fixed compilation issue