Move commands for modifying directory status to DirectoryDetails.

This cleans up the view model quite nicely. Now the logic for what needs done and how to do it is in the object that actually knows about it's state.