enable scala actions on Java projects in non-Java perspective
(cherry picked from commit 82e6b26a7262da7bc3eed045d96377740ab4942d)
Fix rename refactoring selection/tab behavior

When entering rename refactor mode,
 - the selection should not be disturbed
 - tabbing should cycle through all instances of the symbol being refactored

This is the behavior of the JDT rename refactoring.

Fix #1001641
Merge pull request #362 from skyluc/issue/java-project-actions-1001597

Put changes from pr #357 in the right branch
Name the "selectFirst" argument when invoking enterLinkedModeUi
Merge pull request #363 from pelotom/rename-refactoring-fixes-1001641

Fix rename refactoring selection/tab behavior