bezier-curve: Rename BezierCurve controlPoints() method to points().

This is more accurate/generic as we want to use line segments in paths
as well.
bezier-curve: Add BezierCurve first() and last() point methods.

Generic interface so that curves can link to segments.
bezier-curve: Add Segment class with basic methods.