HBASE-9047 Tool to handle finishing replication when the cluster is offline (Demai Ni)

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.94@1551461 13f79535-47bb-0310-9956-ffa450edef68
HBASE-7886 [replication] hlog zk node will not be deleted if client roll hlog (JD)

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.94@1551466 13f79535-47bb-0310-9956-ffa450edef68