hg: Show all open branches.

This changes the hg backend to also include inactive branches i.e. branches that are merged but not closed.

https://github.com/rtfd/readthedocs.org/issues/398
Merge pull request #404 from lazka/hg-branches

hg: Show all open branches.