Updated hook scripts

Extracted .git/hooks/post-commit logic to utils/post-commit.  Fixed
absolute paths.