json: Fixes for C++ compilers.
Merge pull request #12 from tallica/master

Fixes for C++ compilers
Merge pull request #13 from Diablo-D3/master

Remove exceptions, rewrite logging, fix a few bugs