Extract constant refactoring

Extract the currently selected expression to a local variable.

Works out of the box for JavaScript and Typescript. Extensions can add support for other languages too!