AVRO-60. Fix C JSON parser to correctly process escapes and multi-byte characters. Add tests. Contributed by Matt Massie.