Absolute distance between identifiers

As its name suggests, this function returns the minimum distance between
two Pastry identifiers.  (Because identifiers are in a ring, you can go
either direction to get from A to B; this function always returns the
smaller of these two differences.)