U4-3744: Make it possible to make individual selections while still selecting the entire text on first click

This changes to "selectOnFocus" directive to allow for individual edits while still selecting the text on first click. On the first click, the text is selected and a flag set. On subsequent clicks the whole text is not selected if the flag is set. On loss of focus, the flag is cleared so the whole text will be selected again next time the box is clicked.