Add OntologyTerm::getStudy()
Merge pull request #19 from thehyve/fix_query_def_perm_check

Add OntologyTerm::getStudy()