Friend status is now set right before calling the tox_callback_user_status callback.
Fixed tox_get_num_online_friends function.

Removed useless code.
file transfer fixes

-removed rate limit
-send rate no longer gets reset on local/LAN connections
Merge branch 'net' of https://github.com/notsecure/ProjectTox-Core into notsecure-net
Fixed possible issue.
Fixed --disable-rt, link against -lm