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
Fix for CONNECTORS-835.

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

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/trunk@1550177 13f79535-47bb-0310-9956-ffa450edef68
Prepare to rebase CONNECTORS-565 branch

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-565-2@1550497 13f79535-47bb-0310-9956-ffa450edef68