core,nTox,toxic - Fix for Issue #453. Refactoring w/astyle.

This commit introduces a few things. Basically I didn't like the fact that
although we had a coding style document, no one was following it. See
https://github.com/irungentoo/ProjectTox-Core/issues/453 for more info regarding
that. This commit just marks the first of my efforts to refactor the code base
according to the posted coding style document by introducing an astylerc and a
optional git pre-commit hook.

I propose that users can add this functionality as a  pre-commit hook. More
info is in the README file.

However, this has only been tested on Linux and I imagine should work on OSX as
well. I don't think pre-commit hooks work on Windows, but I may be mistaken.

The future commits I plan are refactoring the source files for other offending
items such as using typedefs. See http://wiki.tox.im/index.php/Coding_Style.
Check return value of realloc_friendlist and return FAERR_NOMEM on error
Merge pull request #473 from fhahn/check-realloc-return-value

Check return value of realloc_friendlist and return FAERR_NOMEM on error
Small improvement to DHT. Useless file removed. Small fix to toxic.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
Updated comment.
Add spam length to data length in comparison against max size
Commented out nTox_win32
Fixed function agruments according to new API
Merge pull request #475 from nurupo/master

Commented out nTox_win32 in cmake
Merge pull request #457 from aaboagye/master

core,nTox,toxic - Fix for Issue #453. Begin refactoring w/astyle.
Merge branch 'master' of https://github.com/rose-m/ProjectTox-Core into rose-m-master
Fixed loading and a small problem with the length of crypto requests.
Merge pull request #471 from krisl/master

Add spam length to data length
Fix for issue 472
Merge pull request #472 from naxuroqa/master

Build fails when SHARED_TOXCORE flag is set in cmake