Remove unused dump method from public API
Remove dumpOntologyToRepository from public API and fix bug with
removeCache