Added a precommit hook to run autopep8 and self tests
Added "install" command to precommit hook
Fixed commit hook name so that it actually works

(also testing the commit hook, seems ok now)