https://issues.apache.org/jira/browse/AMQCPP-511

Implement an AbstractDiscoveryAgentFactory and more tests of the
discovery agent bits.