Fixed leading documentation of iso3166_country_cc() and iso3166_country_name().
search_results_identify_spam(): log spam identfied with file index set to -1.
udp_is_valid_gnet_split(): fixed logging of messages smaller than 23 bytes.
search_results_identify_spam(): skip duplicate checks for host-browsing results.
browse_host_open(): give routine name in error if we cannot setup the TX stack.
erbtree_foreach(): changed signature to take a "const" tree reference.
Replaced custom aging_free_t type with new generic free_keyval_fn_t.
aging_gc(): forgot to lock table whilst performing data collection.
Added erbtree_head() and erbtree_tail().
Converted erbtree_first() and erbtree_last() to inlined routines.
Fixed eslist_random() and elist_random(): random value could be out of bound.
Added ability to select a random key/value from hash tables and sets.
hash_list_random(): switched from elist_random() to hikset_random().
mem_is_valid_ptr(): could not properly re-open pipe when invalid.
short_time_ascii(): display negative time as such, like compact_time() does.
Made TRACK_ZALLOC thread-safe.
Made MALLOC_FRAMES and MALLOC_STATS thread-safe.
lookup_handle_reply(): when node is in shortlist, it must also be in the ball.

Before checking that the node in the shortlist is shared, ensure it is in the
ball first, because it must be there as well (any node in the shortlist is also
present in the ball during the lookup).
lookup_handle_reply(): dump ball and shortlist in case of inconsistency.

The log level passed to log_patricia_dump() is now an inclusive lower-bound
so that we can request a dump by supplying 0.
Made atoms compile when TRACK_ATOMS is used.