add getEndPosition to Sequence
make cap nodes null instead of self loops.  disable sorting node1node2.  fix edge coordinates to reflect endpoints are not on the edge.  required for 0length edges