Added the ability to disable the discovery code

This is useful for testing a service that may not have Zookeeper available