adds pre-commit.hook template

this is the basic pre-commit hook that users can optionally install.
fleshes out install_hook command