Issues #692 and #693.
Add the PhenoTips version to the patient's JSON export.
Export the version of HPO used when recording the patient data in the patient's JSON export.

!One line of code untested.
Added new code to PhenoTipsPatient class.
Issues #692 and #693.
Add the PhenoTips version to the patient's JSON export.
Export the version of HPO used when recording the patient data in the patient's JSON export.

Changed the source from which the Patient class gets the phenotips version from.
Added a blank string check in the listener which puts ontology versions into a patient record.
Merge pull request #696 from soLEED/issue-692-693

Issues #692 and #693
Issue #693: Export the version of HPO used when recording the patient data in the patient's JSON export
Fixed an exception in the patient creation procedure
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
[cleanup] Applied codestyle, fixed compilation warnings