add more debugging to solve issue of non-updating schema ontologies
more logger debugging to identify why parts are not being executed
use new schema manifests in webapp/lib and integrationtest
fix some ontology loading bugs and incorrect tests

includes fixing the hacks in some tests that were calling createOntology
themselves before the test to make it work
Only check for version IRI in cacheSchemaOntology so that multiple
versions can be loaded
rename constants to static
extract setupSchemas to separate function
Provide access to application for restart tests
Add unit test for loading version 2 schemas
add test on the version and ontology IRI after the schema update
Cache schema ontologies in updateSchemaImports

Bug was that after reloading the application the schema imports were not
in memory and hence the links were broken (if HTTP resolution failed,
which it will in the case of testing new ontologies that have not yet
been deployed to production)