ISPN-4544 BaseWordCountMapReduceTest#testCombinerForDistributedReductionWithException doesn't actually test reduce exception

Fix test failure DistributedTwoNodesMapReduceTest.testCombinerForDistributedReductionWithException
Allow creation of Infinispan caches as OSGI managed service
ISPN-4818 Allow creation of Infinispan caches as OSGi managed service

Add checkstyle plugin and correspoding clean-ups.
ISPN-4818 Allow creation of Infinispan caches as OSGi managed service

Add integration tests some fixes and clean-up.
Fix documentation .adoc file
[ISPN-4645] Many XSD default values do not match the defaults from the
corresponding configuration builder

https://issues.jboss.org/browse/ISPN-4645

Updated *ConfigurationBuilder, *CacheResource, and XSD files to have the
correct default values
Modified test case code that verifies the default value for L1
configuration
ISPN-4830 Inconsistent naming for the HotRod client Karaf features

Rename them to 'infinispan-client-hotrod' and 'infinispan-client-hotrod-with-query' and deprecate the old ones.
ISPN-4829 OsgiClassLoader.getInstance() is not thread-safe
ISPN-4832 Compose the classpath for the rhq-plugin.xml generator from all the needed path elements
ISPN-4798 Add XSite state transfer configuration to server

* added missing take-offline configuration to CacheAdd
ISPN-4827 Expose the cluster/cache availability over JMX attributes/DMR
metrics
ISPN-4826 X-Site State transfer values not propagated correctly
ISPN-4027 Disable TxCleanupService for non-tx cache
ISPN-3830 Conditional Operation can fail erroneously during ST

The scenario described in the bug was actually working, because the
command was forwarded to the new primary owner. However, it did cause an
unnecessary retry because of the additional topology check in
EntryWrappingInterceptor.
ISPN-3830 Conditional Operation can fail erroneously during ST

* Fixed refactored imports
Changed assertions to use test framework assertions
Fixed SKIP_REMOTE_STORE to only mean when persisting entries
ISPN-4820 Change Size method on Cache to return the contents of the
entire cluster

* SizeCommand now uses entry iterator