added support for extract method. run code actions with selected text.

fixes #73