#369 Fixed state congruency for the ontology and individual concept checkboxes. Refactored constants a bit. Fixed a d3 typescript definition that said the classed() method returned a string for one overload, when it really returns boolean.