Add Hash special coloring mode

The Hash coloring mode computes a hash for a matched string segment, and
always associates the same color with the same string, yet varies colors
with even small changes.