Slightly friendlier pre-commit errors.

Make the pre-commit check spit out cut-and-paste commands and be more
obvious about errors.  Tested by making an invalid change and observing the
message generated.
Merge pull request #230 from thockin/cleanups

Slightly friendlier pre-commit errors.