Import sniff dialect changes from Tiled Grace

The dialect more accurately tests intersection of circles and includes a
new "hue()saturation()lightness" method.