[git] refresh file status after reset from the log

(cherry picked from commit fadf51f)
[vcs] mark the root dirty recursively after reset

(cherry picked from commit d082037)
[push] IDEA-130622 Temporary fix for "confusing selection" problem: select all repositories with commits.

(cherry picked from commit 172d506)