implement glueTrail, closeTrail, and cutTrail
Implement a bunch more trail functions

trailMeasure, withOpenTrail, openTrailSegments, closedTrailSegments,
trailSegments, trailOffsets, trailOffset
finish implementing stuff in Trail!

trailVertices, fixTrail, reverseOpenTrail