ISPN-1880 Update javadocs on size()
ISPN-1874 Find available jmx port and use it for remote monitoring
ISPN-1874 Add RHQ monitoring options for .bat scripts too
ISPN-1751 Workaround JDK6 NPE with NIO
ISPN-1867, add type attribute to loader element on xsd
ISPN-1847: use new config api to test for enabled invocation batching
ISPN-1885 RPCs can arrive before CommandAwareRpcDispatcher sets its request/response marshaller
Refactor CommandAwareRpcDispatcher construction so that it does not implicitly start.
Start dispatcher only after request/response marshallers are set.
ISPN-1857 inconsistency issue caused by lock failover during node joining
ISPN-1889 Use a ConcurrentMapFactory abstraction when constructing concurrent maps

* Use a ConcurrentMapFactory for creation of concurrent maps
* Add backports of JDK8's ConcurrentHashMap
* Factory to inject appropriate ConcurrentMap implementation
* Add system property infinispan.unsafe.allow_jdk8_chm, false by default
* Move ConcurrentWeakHashMap to a better location
ISPN-1881 Refactor CommandAwareRpcDispatcher to treat calls to single recipients in a more optimised manner

* Also make SuccessfulResponse a singleton for null payloads
ISPN-1882 - IllegalStateException in state transfer when starting a single clustered node

In invalidation mode the state transfer lock interceptor is not loaded,
so we don't care about blocking write command. However, we have some
common code that blocks/unblocks write commands, so we must ensure that
the blocking/unblocking is symmetrical in invalidation mode as well.
Modified the RHQ plugin:
- depend on the RHQ 4.2.0 artifacts
- use commons-logging instead of jboss-logging to align with the other
RHQ plugins
- specify that Infinispan may be found also in AS7 standalone and
profile configurations
- clean up the build so that the plugin doesn't depend on
infinispan-core
- Clear up the POMs
- Check for null attributes in CacheManagerComponent (thanks Shane Johnson)
Properly parameterize KeyAffinityService and corresponding tests
ISPN-1887 Produce a better error msg when lock called on non-tx caches
Cleanup test suite to remove unnecessary warnings
Add equals/hashCode for config objects, fix L1 config builder bug...

Added a withCacheManagers() method to use multiple cache managers
ISPN-1881 more fixes
fix indentation of if branches
Remove unneeded log.isTraceEnabled tests
no need to check for logging level at info