Updated build.xml; got all tests passing

Had to change how server is initialized to isolate tests.
Also, changed the hashCode for edge locations so ports (should)
always be returned in the same order.