Only copy when pointer isn't NULL in get_friendcon_public_keys().
Fixed bug where group chat would see connection as offline when it was online.

Clarified something in the docs.
Fixed possible threading issue.
Fixed possible threading issues.
Fixed possible threading issue.
Fixed possible threading issue.
Fixed possible threading issues.
Merge branch 'master' into debian/unstable
prepare for release

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

toxcore Debian release 0.0.0+20141203.r2996-1
prepare for release

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