Install git hooks (fixes #567)

This forces lint checks on pre-commit, and cfx test on pre-push.