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)