Fixing travis issues: we need to pip-install mercurial for python 2.7 and mercurial deb for 3.x