Compatibility with non-Linux platforms

Change scripts to use generic Bourne shell syntax.
Make post-merge symlink relative to hooks dir (in case anybody will want to move git dir around)
More compatibility with Bourne shell
Quote path variables in shell scripts to handle spaces in paths
Don't install if any of the hooks already exist