Adding fix to support local variable refactoring

Required changes to the local variable - the name ranges were sometimes
bigger than the range this stops the local variable refactoring from working
so adjust the name range down to the simple name only.

Changes the quick assist to use more than one java element.