discovery of mdns urls

Please review @g-ortuno 
This comparator looks exactly like the one in NearbyBeaconsFragment. Might want to abstract it.