shell-common/wip: teach the prompt to look at the publishing branch

When computing how many commits ahead/behind we are, we want to base
that off of where the branch is to be published.  This makes more sense
when working from several different machines and when collaborating with
others.