Add a style-enforcing pre-commit hook

Closes #8