Functions to get name of peer in group chat added.

Group message callback modified.
numchats needs to be decremented
Merge pull request #585 from JFreegman/master

numchats needs to be decremented
astyled everything.
Merge branch 'group-chat'
Allow loginit() to be delayed, store loglog() data in intermediate buffer and flush it out when loginit() is called

util.c:
- handle loglog() before loginit() by storing the lines into an expanding buffer
- when loginit() is called, write out and kill the buffer

network.c:
- push loginit() to the point where we know the actually used port
Fixed bad code in nTox.
Forgot an else.
Merge pull request #588 from FullName/LoggingPreInitStoring

Allow loginit() to be delayed, store loglog() data in intermediate buffer...
Fixed bug in Lossless UDP.
Fixed bug in Lossless UDP.