As we have design for search for filtering users in modals, the goal is to use the same component for both thread search (for which we don't have design) and thread members search.
This diff moves search logic and styles from `thread-list-search` into `search` and changes classes names to be more generic (instead of "threadSearch..." is "search..."
There are no design or behavior changes in this diff - everything should work as before.