IDEA-131578 Folding 'blinks' when navigating to a method

(cherry picked from commit aee6089787926dfae0a6fd0a980b8b443d0b96d8)
IDEA-131578 Folding 'blinks' when navigating to a method - fixed existing tests

(cherry picked from commit 9a3bdff044af4a32062fd6109d4c905e650c2882)
IDEA-131578 Folding 'blinks' when navigating to a method - adjust test following review

(cherry picked from commit a46ba74dbb763aaad9ec36ddf3643f4ae983e2f2)
adding a flag to tweak folding behavior on editing

(cherry picked from commit f1f530c8a3c23453088cddb344d96fc1347dd123)
IDEA-131657 Don't expand foldings on 'Move Caret to Next/Previous Word' actions
(cherry picked from commit b4e9871)