adds an extract local variable function to the editor
fixes some indentations
Merge branch 'extract-local-var' of https://github.com/dirkschumacher/rstudio
refinements to extract variable