hg_git_repo: implement hg_call() a primitive method

This method will help us to easily run any hg command; and
it will automatically prepare the env and other such thigns.

--HG--
branch : heptapod
2 jobs for branch/heptapod