write polygons to ugrid

Added files from the "ugrid" package. Added a method to the polygon
dimension to write to a netCDF file using the UGRID convention.