save documents before svn rename
IDEA-97342 renaming Java class triggers file cache conflict if project is using subversion in Ubuntu Lucid x64
WI-17327 Reformat code replaces contents of Smarty tags with spaces [CR-IC-589]
(cherry picked from commit 9b23ee1)