Monitor leader should not wait for a majority before attempting to communicate with the cluster controller
This is an optimization which will improve client and server connection times to the cluster controller, especially in multiple DC configurations. Currently, we ask all coordinators for who the cluster controller is, and once we have a majority answer we know that server if the cluster controller.
Instead, we should optimistically assume the first reply we get from the coordinators is the correct answer and begin contacting them as if they were the cluster controller.
This should be done in both MonitorLeader.actor.cpp for clients and LeaderElection.actor.cpp for servers.
getLeader in monitor leader should return Optional<pair<LeaderInfo,bool>> with the extra bool telling us if the LeaderInfo is a majority answer. getLeader should return the leaderInfo with the most responses. tryBecomeLeaderInternal should only become the leader if it has a majority answer. Always update outSerializedLeader to the LeaderInfo.