Issue #799: Improve the UI of the term details box

Also fixes #798 (Display the parents of a term in the phenotype details box) and partially #797 (More user-friendly labels for the term synonyms)