Improve "make check-spelling" target and add to git pre-commit hook