Allow URLs to be used as the keys of a TreeMap.

This is needed to get bucketed profiling working in servo.