added hg prompt to display mercurial branch/bookmark status

I added a function to parse the output from mercurial summary so it displays status same as git