OAK-1915: TarMK failover 2.0

Bug fixed: master startup occasionally deadlocked due to race conditions.
Features added: MBean support, compression, checksums, master access restriction by ip address, client can be started via oak-run runmode.

Added unit tests.


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1620634 13f79535-47bb-0310-9956-ffa450edef68
OAK-1915: TarMK failover 2.0

New runmode "syncslave" for oak-run to start a standalone FailoverClient.


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1620637 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'upstream/trunk' into trunk

Conflicts:
	oak-tarmk-failover/src/main/java/org/apache/jackrabbit/oak/plugins/segment/failover/CommunicationObserver.java
	oak-tarmk-failover/src/main/java/org/apache/jackrabbit/oak/plugins/segment/failover/jmx/FailoverStatusMBean.java
	oak-tarmk-failover/src/main/java/org/apache/jackrabbit/oak/plugins/segment/failover/jmx/ObservablePartnerMBean.java
	oak-tarmk-failover/src/test/java/org/apache/jackrabbit/oak/plugins/segment/DebugSegmentStore.java
	oak-tarmk-failover/src/test/java/org/apache/jackrabbit/oak/plugins/segment/failover/FailoverIPRangeTest.java
	oak-tarmk-failover/src/test/java/org/apache/jackrabbit/oak/plugins/segment/failover/FailoverMultipleClientsTest.java
	oak-tarmk-failover/src/test/java/org/apache/jackrabbit/oak/plugins/segment/failover/MBeanTest.java
	oak-tarmk-failover/src/test/java/org/apache/jackrabbit/oak/plugins/segment/failover/RecoverTest.java
	oak-tarmk-failover/src/test/java/org/apache/jackrabbit/oak/plugins/segment/failover/TestBase.java