Add mercurial generated git diff parser.

Review Request #7264 — Created April 29, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
d39b867...

Reviewers

This adds a new HgGitDiffParser which will parse the headers generated
by "hg export --git" and then rely on the GitDiffParser to parse the
diff contents.

The logic for deciding which hg parser to use has also been changed
slightly so that it takes into account the possible presence of the
commented headers hg provides.

Tests for mercurial git diff parsing have been updated to provide the
proper extended headers.

New tests, unit tests pass, uploaded diff from "hg export --git" parses and displays.