Hg Prompt Checkmark

Updated uber theme to display a check mark if the hg repo is clean
Also cleaned up some of the hg prompt code associated there