Log error and details for invalid polygons
Switch responsesToGeoJSON to use an options object
Simplify indexed geometries
Actually kick off the simplification process
Detect self-intersecting polygons and fix with a currently hacky approach

We simplify the coordinates and rearrange them to run clockwise, so there's no more self-intersection. In the future, we should probably split the polygon into multiple rings.
Pass the right type to util.simplifyCoordinates
Simplify/rearrange coordinates properly
make sure Polygon geometries have a valid ring
Avoid duplicated points
Always log the error
Tweak for Mongoose 3.8
Work with Mongoose 3.8 toObject behavior