Exclude file ext from initial selection when renaming a file.

This change performs the rename as usual through JSTree, then
grabs the DOM node and adjusts the selection on it after the fact.
This fixes issue #7019
Merge pull request #7209 from Robo210/initial_selection

Exclude file ext from initial selection when renaming a file.