Geometry validator

Some more enhancements to the script.

Now the script is generic, catches **all** geometry columns in a database.