Add precommit hook
This PR adds a pre-commit hook to be used by the Swiss Data Custodian developers. The pre-commit hook calls gofmt
to make sure no syntax errors are present in the commit and enforce a proper formatting.
A Makefile rule is also added to simplify the git pre-commit hook installation. Developers can install the hook by typing
make pre-commit