ISPN-4708 Make DirectoryImplementor#deleteFile apply changes asynchronously
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.
Change ReplicatedCHFactory to only replace leavers in updateMembers()

Uneven primary ownership should be dealt with in rebalance() only.
Delegate the isBalanced() check in DefaultRebalancePolicy to the CH factory

Allows waitForRehashToComplete() to work even if the CH factory allocated
less than numOwners owners to each segment.