Provide some commands to interact with consul
Currently, to get the health of the postgresql service from consul's point of view, it's best to run curl http://localhost:8500/v1/health/service/postgresql
and parse the resulting json
We should build a gitlab-ctl
command to make this simpler. Something along the lines of
# gitlab-ctl consul get-service postgresql
foo.example.com
...
Should probably be generic to support multiple services, and not be a pile of json