bezier-curve: Add port of NearestPoint.c.

From “Solving the Nearest Point-on-Curve Problem and
A Bezier Curve-Based Root-Finder” by Philip J. Schneider. ”Graphics
Gems", Academic Press, 1990.
bezier-curve: Initial test of nearest point on curve.

We test against the main curve and the test case given in the original
NearestPoint.c.