pre-commit script and associated python modules.
Changed standard.rc so two spaces as indent rather than four spaces. Also adds a script to install hooks into ./.git/hooks.