Moved the larger test cases and data into separate files, less quiting
that way. Added test case for the escape-able characters.

Added test cases for invalid json.

Shifted the json generating procedures to the common file, making them
shared between Tcl and C implementations.

Added a benchmark suite, using the test cases in the files as input.