-Fix: changed hg wd up-to-date flag location and color to make it distinct from git's 'ahead remote' flag, cleaned up logic so that hg id is called only once