Add no-commit pre-commit hook.

This hook checks if the changes about to commit have
the flags `NOCOMMIT`, `NO_COMMIT` or `NO-COMMIT` and prevents
the commit if those flags are present.

Useful if you make temporary changes in the code that you don't want
to commit.