Yank word on C-w

- If a region is active in the search buffer, yank that.
- Otherwise expand search like isearch does.