Adds high availability management-plane support

- support for standby management-node(s), where one is automatically promoted
  to master when the current master fails or terminates
REST api: high-availability / management-plane queries