added ability to run bidi on selection

added ability to run bidi on selection or multiple selected text
Merge pull request #16 from imdark/master

added ability to run bidi on selection