adds commit hook script for gerrit