prototype: gitaly and praefect with consul
This MR is an experiment to get praefect and gitaly to work with consul. the gitaly nodes will try to become the leader, and praefect asks consul which one is the leader.
This is VERY crude with hard coded values everywhere, but it wasn't too hard to integrate our current node manager with consul.
related: #2458 (closed)
Edited by John Cai