Fix test_many_clients in tox_test

Stack variable to_comp goes out of scope,
but a reference to the variable is used later
in Fiend_Requests.
Fixed segfault.
Spreading packets around TCP relays causes issues with the audio and video.

Make each connection stick to the same relay.
Size parameter is now checked in toxav_send_audio().

Cleaned up code a bit.
Merge branch 'master' of https://github.com/pyruvate/toxcore
Added function to get public and private key from Tox object.
Updated download page link.
Fixed possible threading issues.

send_lossy_cryptpacket() can get called from another thread meaning
the connection can be killed while the packet is sending.
Adding a new connection while a lossy packet is being sent could
also cause thread related issues.
decode video on separate thread
fix test
fix initialization order
audio/video decoding on separate thread with a queue
Merge branch 'notsecure-split-video'
Disable decode deadline, fixed build error.
Added userdata pointer to audio/video callbacks
Merge branch 'mannol1-master'