WIP: Initial version of event handler for repmgrd failover promotion

Open Ian Baum requested to merge failed-master-watcher into master
  • Add a basic ConsulHelper class to put values in the kv store
  • Create an event handler for repmgrd events
  • Populate the event for repmgrd failover on the new master to put an entry in consul

Related to #2697