Fixed another thing in loop; added initialization for tox_array in lossless UDP.
Changing semantics of some functions.
Changed tox_list_for_each() to be more easy to use and added
tox_list_for_each_reverse().
Changed comments.
Moved misc_tools from testing to toxcore.
Merge branch 'udp_connections' into misc_tools