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