path/path_set: use proper move semantics
Remove unneeded scope
Factor out svn directory change processing

Things were getting too crowded and we still have to add merge recording