Show hg branches in the prompt

Actually, show branch+bookmark, except if there is a bookmark on the
default branch. There are also extra templates for explicitly showing
just the bookmark or just the branch.

Also added a corresponding explanation on the docs.