Decided pretty much how the handshake would work.

Started writing the code.

Astyled some files.
Major cleanups.

Fixed circular dependency between DHT and net_crypto: DHT no longer
depends on net_crypto.

Moved the crypto request packets functions to crypto core and DHT.

Cleaned up/added some defines that can be used to get the true maximum
length of things like the friends request message.

MAX_DATA_SIZE has been replaced in most places by more appropriate defines.
Updated some files so that they could build with latest core.

Fixed some issues.
Fixed the DHT bootstrap daemon.