Move search text value conditional out of winnow_results

This is the only part of winnow_results that is jQuery dependent and
moving it paves the way to move winnow_results into AbstractChosen.
Always set selected text and classes in a method.

It should have been this way from the beginning, but it wasn't. Moving
to a method will move results_otion_build to AbstractChosen