Don't delete Store and Directory objects any more

Make Store and Directory objects obsolete instead of deleting in `update_stores` command.
See #269
Please add a docstring here and in the next function definition. `project_tree.py` is a mess already, let's try not to make things more difficult.