Add a --validate option.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Repair records with an odd number of fields.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Merge branch 'master' into peter