Simple api to run mercurial commands from nodejs