add support for mercurial
Merge pull request #19 from djerius/hg-support

add support for mercurial