Fixed some logging.
Added BOOST_SPIRIT_THREADSAFE to allow boost json parser from multiple threads.
Added documentation.