Add a pre-commit hook for git

Checks for TABs character and pep8 compliancy.