[r=wwitzel3] state/api/agent: added IsMaster to the API
IsMaster provides a way to let an API worker know that it is on the same
machine as the API server that has a mongo peer address that is the primary
mongo server for a given replicaset.
https://codereview.appspot.com/83150043/