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