add pre-push script to build and run tests

this hook can be activated with
`ln -s ../../scripts/git-hooks/pre-push.sh .git/hooks/pre-push`

This way git will only push if the test-suite passes