Add setup_hg to init.sh
Add setup_repo() to init.sh

This replaces calls to setup_git and setup_hg and figures out which one
it should call out of the two
Merge pull request #241 from FriendCode/feature/mercurial_support

Feature/mercurial support