[misc] Added hashCode and equals for ontology terms
Issue #573: New APIs for accessing users and groups
Done (first version)