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

Removed useless code.