add a utility function to Canvas to compute distance from a point to a line segment
debug trace tweaks
ArdourCanvas::Line::covers() uses distance_to_segment_squared()