Add default pre-commit hook for whitespace check