added list_dirs
Remove the rename check, this is so the NotebookManager can use this.
Start of the BundleNotebookManager.