add const to some lookup functions
add xmap::exists
drop requests_in_flight member; improve DHT search; use xmap for Search'es.

requests_in_flight could not be precisely counted in case of node_id change.
Old DHT search behaved badly in case of unresponsive nodes, new version
sends requests to any nodes better than the best responded one. xmap allows
quick lookup of Search by target_id.