[r=gz] state: Use APIHostPorts to implement APIAddresses
Updates APIAddresses call to get addresses directly from state,
rather than via looking up which machines are state servers
then returning the addresses of those machines. Various tests
have been updated to work with this change.
https://codereview.appspot.com/87540043/
R=rogpeppe