core: Move send ping packets functions to ping.c
core: Move send ping packets functions to ping.c
Merge branch 'dev'

Conflicts:
	core/packets.h
	core/ping.c
core: Move ping request/response into ping.c
Added a linked list implementation.
Merge branch 'master' of https://github.com/plutooo/ProjectTox-Core into plutooo-master

Conflicts:
	core/ping.c
	core/util.c
fixed print_statuschange & m_set_userstatus usage in nTox_win32.c
core: Moved handle ping packets to ping.c
Merge pull request #361 from plutooo/master

core: Moved handle ping packets to ping.c
Added ERROR() and WARNING() for debugging.
Merge pull request #362 from KostyaKow/master

Added linked list and stuff for debugging.
Small bug fixed.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
code format/clean up
Merge pull request #363 from JFreegman/master

code format/clean up
Added a linked list implementation.
Added ERROR() and WARNING() for debugging.
Fix bug where we could run past the end of the friends list
Fix segfault when no broadcast device is found
Fix bug where file handle wasn't closed on success