core: Rewrote ping-module, better performance and cleaner code.
Merge branch 'master' of https://github.com/plutooo/ProjectTox-Core into plutooo-master
Fixed style and is_pinging().
Merge branch 'plutooo-master'