Fix treemap slice-dice mode.

For even depths, it was falling back to Math.min(rect.dx, rect.dy)
instead of always "dicing" (rect.dy).
d3.geo.centroid: fix handling of mixed geometries.
Simplify.
test for problematic nesting case
GeometryCollection is a *geometry*, not objecttype (c.f. http://www.geojson.org/geojson-spec.html#geometry-objects). this makes nested test pass.
Merge branch 'geo-centroid' of https://github.com/jasondavies/d3 into 3.0.1
Merge branch 'fix-geo-bounds-collection' of https://github.com/natevw/d3 into 3.0.1
Merge branch '3.0.1'
Fix d3.geo.circle.origin.

3D rotations are not commutative, so we must perform an inverse rotation
to move something from origin [0, 0] to [λ, φ].  Normally we are moving
origin [λ, φ] to [0, 0].
Fix path.bounds with fallback stream.

Fixes #987.
Merge branch 'geo-circle' of https://github.com/jasondavies/d3 into 3.0.2
Merge branch '3.0.2'
Fix locale generation on Linux.

The regexp was not unquoting the empty string surrounded by quotes.

Fixes #976.
Scale.ticks returns a single value for a degenerate domain.