Use point-in-polygon test for winding order.

This point-in-polygon algorithm uses the same area calculation as
d3.geo.area, inlined for performance.

Fixes #1300.