Added online writer that serializes events into json and pushes the json string to python.
The online writer now passes event messages to the online analyzer.
Additional mutex guards in fake data creator, and fixed a few typos in the online stuff.
Fixed merge conflict with master->mws-dev.