Consistent winding order for polygon rings

In order to support efficient rendering of holes in polygons (see #803), we store rings in consistent winding order: clockwise for exterior rings and counter-clockwise for interior rings.

Different formats call for different winding order in polygon rings.  If we are consistent in our internal storage, then we can serialize consistently.