Remove getCoordinateDimension calls

Use HasZ instead of getCoordinateDimension to support GEOS 3.2
Merge pull request #179 from jwass/noCoordinateDimension

Remove getCoordinateDimension calls