Fix ontology ancestor search.
Convert plot module into package.