- Add more robust error handling.
- Eliminate many memory leaks when error took place in parsing. More
  remain.
- Test code now reads a JSON document from a file.