Find Mercurial repository root

Allows to find a root of mercurial project.