Creating rebased CONNECTORS-781 branch

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-781@1546968 13f79535-47bb-0310-9956-ffa450edef68
Refactor for testing so there's an AgentsDaemon class that can be instantiated multiple times to generate multiple agents processes in a single JVM.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-781@1547015 13f79535-47bb-0310-9956-ffa450edef68
Switch over to using the instantiable class for agent daemon management.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-781@1547019 13f79535-47bb-0310-9956-ffa450edef68
Allow MCFInstance to support multiple instances with multiple processID's

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-781@1547121 13f79535-47bb-0310-9956-ffa450edef68
Add multi-daemon testing code (which currently fails)

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-781@1547144 13f79535-47bb-0310-9956-ffa450edef68
Fix cleanup bug.

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-781@1547166 13f79535-47bb-0310-9956-ffa450edef68
As part of CONNECTORS-781, create at least one multiprocess test, and debug multiprocess code.

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