json: Small tweaks in Unicode.
json: Make Tokenizer::isBadChar static.
json: Fix a few VS2013 warnings.
json: Implement unicode parsing.
main: Improve exception safety.