Inplemented double and triple click in TextBox.

Copied a load of stuff from Moonlight regarding finding next/prev word
that I've put in StringUtils.