A *lot* of style changes.

I tried to follow [this](https://github.com/irungentoo/ProjectTox-Core/wiki/Coding-Style) guide.