Fixed onion test.
Very simple fix to lower bandwidth usage at startup.
Some small DHT CPU optimizations.

Only compute the shared key once instead of twice for received DHT
requests/responses.
Small CPU optimizations to ping requests/reponses.

Same idea as last commit.
Some CPU optimizations and fixes to onion_announce_request.
Made onion paths expire eventually client side.
Some small changes/fixes.

Changed some timeouts and made cryptopacket_handle return correctly.
Minor documentation cleanup

This commit fixes some typos and grammar mistakes. It
also fixes some of the long text lines and generally
makes the documentation more readable.
Merge pull request #782 from AgathaTheWitch/master

Minor documentation cleanup
CPU usage improvements.

Shared keys for recieved DHT packets are now stored in a special array
so that they don't need to be recomputed for nodes that send us lots of
packets.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
All OSX commands now copyright friendly

Saves confusion to those not entirely sure why "./configure--with-libsodium-headers=/usr/local/Cellar/libsodium/0.4.5/include/ --with-libsodium-libs=/usr/local/Cellar/libsodium/0.4.5/lib/" did not work.
Set typing status before calling callback.
Fix libtoxav link error.
Merge pull request #785 from aitjcize/master

Set typing status before calling callback
Merge pull request #788 from aitjcize/avlinking

Fix libtoxav linking issue
Merge pull request #783 from kylobite/patch-1

All OSX commands now copyright friendly
CPU optimizations.

Use get_shared_key() in more places.
Made save more portable.

This should fix the issue of the friends list getting cleared when
something in it changes.
Your userstatus and message are now saved with tox_save().