JSON format support for C# port.

- Support .json as well as .jison definition files.
- Fix for invalid path-characters being used for the C# class name.