Consistent winding order for polygon rings

This is not yet ready for review.  Tests are still failing, but I just got tired of fixing them.

Different formats call for different winding order in polygon rings.  If we are consistent in our internal storage, then we can serialize consistently.