Double-click selection improvement

Better handling of separators selection.
Fix an issue when a word is ending right at the term right margin.
Fix AOOBE
Merge pull request #34 from Plonk42/selection_util_fix

Double-click selection improvement