Handle contour edge cases in Path#contains().

Closes #208.
Improve Curve#getCrossings() documentation and code.