IDEA-120663 Log and History broken for mercurial 2.9

*another file with branches information parsed now;
*parsing branched changed for 2.9
(cherry picked from commit b888b15)
unnecessary methods from HgVersion deleted; HgVcs used instead of project;  IllegalArgumentException thrown instead if assertion
(cherry picked from commit f0320f8)