added support for standards-complaint CVT files

The original version only supported broken "DirMaster" CVT files. Also added debug support and support for GeoWrite V1.1 files.