Added a tox_add_friend auto test.
Fixed crash when connection was killed during the packet callback.
Merge branch 'master' into debian/unstable
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>
Merge tag 'debian/0.0.0+20141211.r3014-1' into debian/stable

toxcore Debian release 0.0.0+20141211.r3014-1
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>
Test if everything goes well when a peer leaves the group chat.
Fixed video packet assembling.

Video should look better now.
Merge branch 'master' into debian/unstable
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>
Merge tag 'debian/0.0.0+20141212.r3016-1' into debian/stable

toxcore Debian release 0.0.0+20141212.r3016-1
prepare for release

Signed-off-by: Kill Your TV <killyourtv@i2pmail.org>