don’t use service discovery if the service port is the same as the instance ports

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>
only write template and reconfigure haproxy when there is a change. do a soft shut-down of haproxy when discoverator exits.

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>