Made DirManager.project_dir public

Additionally added a TODO to refactor the uses of the method so it
can be moved back to a private context.