Refactor d3.geom.voronoi.

See #1145.
Refactor d3.geom.quadtree.

See #1145.