Add is-hg-head.sh

With this script you can check if the active commit in a hg repository is the head of the active branch (looking local changes only).