Added more unit tests. Changed mastership application to be synchronous.
…ly role to the switch.
Converted ConnectPoint and HostLocation to classes.
Added link admin stuff; unit tests to come.