First implementation of curve drawing.

Curve drawing, control point selection/deletion, and *visual* curve
history is now working. Still has work to be done, including proper
erasing, curve history/storage, and ToolLayer/UserLayer usage.