prefs: use headerbar for prefs window.
prefs: add search entry for searching preferences

Searching isn't implemented, but gets the feel for how we are going
to plumb this.