bezier-curve: Restructure Endpoint as the parent of two ControlPoints.

This should for simpler change propagation management.