Add failure exit code.

 * Add a `fail_on_problem' option returning a failure exit code on linting problems.
 * Always return a failure exit code on reading/parsing errors.