Rebase CONNECTORS-13 branch

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1527185 13f79535-47bb-0310-9956-ffa450edef68
Create a branch to work on the zookeeper part of CONNECTORS-13

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539323 13f79535-47bb-0310-9956-ffa450edef68
Add zookeeper to the build infrastructure.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539362 13f79535-47bb-0310-9956-ffa450edef68
Construct a zookeeper client object

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539438 13f79535-47bb-0310-9956-ffa450edef68
Create a Zookeeper connection object, and separate global from local sync

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539587 13f79535-47bb-0310-9956-ffa450edef68
Abstract from how lock objects are created, indirect via factory.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539604 13f79535-47bb-0310-9956-ffa450edef68
Create base lock manager.  All lock managers will be derived from it, when I am ready

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539701 13f79535-47bb-0310-9956-ffa450edef68
Rearrange code for clarity

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539710 13f79535-47bb-0310-9956-ffa450edef68
Use a method to obtain the global lock pool, for ease of extension.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539720 13f79535-47bb-0310-9956-ffa450edef68
File-based lock manager

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1539727 13f79535-47bb-0310-9956-ffa450edef68
Revamp infrastructure for zookeeper to use a pool model

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1540056 13f79535-47bb-0310-9956-ffa450edef68
Implement zookeeper related code, all except for zookeeper node acls.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1540553 13f79535-47bb-0310-9956-ffa450edef68
Complete the basic implementation of zookeeper synchronization.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1540555 13f79535-47bb-0310-9956-ffa450edef68
Add ZooKeeper test and infrastructure to run the ZooKeeper server from the test framework

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1541051 13f79535-47bb-0310-9956-ffa450edef68
Flesh out the test (which currently hangs, but we'll fix that shortly)

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1541200 13f79535-47bb-0310-9956-ffa450edef68
Fix a number of problems, with both the test and the locking code.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1541337 13f79535-47bb-0310-9956-ffa450edef68
Finish debugging zookeeper test

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1541348 13f79535-47bb-0310-9956-ffa450edef68
Add test for file locks.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1541363 13f79535-47bb-0310-9956-ffa450edef68
Create a method and command-line call to configure ManifoldCF via ZooKeeper

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-13@1541428 13f79535-47bb-0310-9956-ffa450edef68
Add zookeeper source folders and scripts for the zookeeper example

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