Exit 1 in command-line validator if errors.

See https://github.com/validator/validator.github.io/issues/2
Thanks Anatol Broder.