Implement rename.

Currently only working in a single file.
Fix find references and rename across multiple files.
Fix incorrect text shown in Rename dialog.
Rename text editor context menus.

Menu names now consistent with C# menus.