do_Assoc(): keep the data of the buckets somewhat current
Compatibility fixes.

AF_INET/AF_INET6 can vary across devices, we introduce TOX_AF_INET and
TOX_AF_INET6 to fix this.
Send groupchat ips like DHT ones.
Cleaned up and fixed various things.
Fixed possible issue.
More API consistent fix.
Merge pull request #677 from aitjcize/api-name

More API consistent fix.
Increased some intervals/timeouts to lower network usage.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
Fix a code cleanup.

DHT.c:
- get_close_nodes():
    - allow two 'indirect' nodes ('indirect' as in distant from us and therefore not tested regularly, "bad")
    - be consequent when testing for NULLed results, pack nodes_list dense
    - (logging) dump number of found entries from assoc
- returnedip_ports():
    - fix code cleanup, the entry to be added is about the node we were told, not about the node who told us

assoc.c:
- Assoc_get_close_entries(): break from loops as soon as a marking-invalid-node is hit
Fixed arm bug.
Fixed arm bug.
Merge branch 'assoc-refresh-distant-data' of https://github.com/FullName/ProjectTox-Core into FullName-assoc-refresh-distant-data
Merge pull request #678 from FullName/retipp-fix

Fix a code cleanup.
added groupchat actions
small fix
Fixed comment.
Code cleanups.

No functionality changed.
Astyled the code.
Added simple test for tox.