Shape File Table Engine expose Geometry type constraint

I change how the geometry type constraint is applied to columns. This is simpler now; I removed a lot of classes. The shape file driver now exposes the column constraint ST_GeometryTypeCode(the_geom) = N.

This constraint is read by the view table GEOMETRY_COLUMNS.