Adds detection of color and pager hg extentions and modifies diff command to compensate