OAK-1915: TarMK failover 2.0

Added test cases, improved stability and error handling, added ssl support, prepared Sling runmodes slave and master, improved JMX MBeans. 



git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1622479 13f79535-47bb-0310-9956-ffa450edef68