centroid function now also accounts for the control points in a curve.
centroid function now also accounts for the control points in a curve.

This solves issue 59 in maak.
nodebox/vg.js,nodebox/vg.js,luisbrito/vg.js,luisbrito/vg.js