add support for calling the hook from a symlink
Merge pull request #5 from gpetras/feature/support-commit-hook-as-symlink

add support for calling the hook from a symlink