DocXGenerator: exit code when template file not found
DocXGenerator: unit test on errored JSON
DocXGenerator: JSON library changed to improve error messages and cleaned up error messages.