Fix selection in FF / IE when editable area is selected in sendKeys. Added rest of functionality in methods and some optimizations.