Rework a couple of things in the zookeeper implementation; this is in conjunction with CONNECTORS-835

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