Store last coordinate in Graphics path commands

Needed to correctly calculate bounds for curves.
Introduce Geometry.quadraticBezierExtreme and use it to calculate bounds for Graphics#curveTo