Allow FileContentsManager and MappingKernelManager to be used outside NotebookApp