Removed dead code
Button for manual reparsing of a specific ontology added.

closes #340
StateUpdater fixed and tested

should solve #430 and #405
Only retry ontologies without parent_id.
Only search for ontologies without parent on adding new commits.

related to #340
API for retrieving categories and category_ids