Fix braces and a few whitespaces
Update DHT.c
Update DHT.c
Close the socket in shutdown_networking()
Merge remote-tracking branch 'ProjectTox/master'
Merge pull request #111 from nfkd/patch-3

Fix braces and a few whitespaces
Merge pull request #115 from Astonex/master

Close the socket in shutdown_networking()
Merge branch 'master' of https://github.com/KostyaKow/ProjectTox-Core into KostyaKow-master

Conflicts:
	core/DHT.c
Ran the code through: astyle --style=linux
Fixed small astyle problems.
created new files misc_tools.(c|h) and moved hex_string_to_bin() there.