Refactor selection, moving text extraction code into iTermTextExtractor. You may now have multiple discontinuous selections. Word and smart selection respect vertical dividers made of pipes. Cmd-click underlines do as well (as they did before), but now draw properly. The selection mode is remembered when extending a selection to be more Mac-like.
Merge branch 'master' of https://github.com/gnachman/iTerm2