Fix scope, ressource leaks in boostrap daemon

Reduce scope of config_setting_t *elem

Fix various leaks of files keys_file and pid_file
dns3_test now automatically does the DNS request.

tox_decrypt_dns3_TXT no longer needs id_record to be null terminated.
Merge branch 'bootstrap_daemon-leaks-1' of https://github.com/tux3/toxcore into tux3-bootstrap_daemon-leaks-1
Fixed bug when adjusting queue size
Remove some immediatly overwritten writes

Fix local variable being modified just before it goes out of scope

When memcpy-ing in a buffer, only memset the part of the buffer not modified by the memcpy, not the whole buffer

Also reorder the memset after the memcpy, to potentially avoid cache misses (NOT profiled)
Fix exceptional file leak in other/fun/sign.c
Fix redundant assignment in TCP_server.c
Merge branch 'mannol1-master'
Merge branch 'perf-rebase' of https://github.com/tux3/toxcore
Merge branch 'leak-rebase' of https://github.com/tux3/toxcore
Merge branch 'tcpserv' of https://github.com/tux3/toxcore
Fix CppCheck style errors

#if 0 the content of toxav/msi.c : int stringify_message(MSIMessage
*msg, char *dest)
This function has no effect and does not seem to be used for actively
waiting.

Fix various other style errors, reduce scope when possible, avoid
redundant writes, clarify operator priorities, etc.
Started with VAD
Got a little dated
Reduced number of realloc calls bs_list does
Fix FreeBSD instructions, sodium 0.5.0

Sodium 0.5.0 optimizes itself on being loaded
Update README.md
Added strkey
Fixed sodium include
Merge branch 'tux3-cppcheck-style'