Added support for mercurial repositories to be used as source.
Merge pull request #198 from delicb/master

Mercurial support