Issue #693: Export the version of HPO used when recording the patient data in the patient's JSON export
Bulletproofing, changed the name of ontology versions to include a "_version" suffix, improved error handling