Unify note and terrain search

Leetle bit of refactoring too.
It's somewhat intentional, to match the terrain search, and the dedicated
note search still searches every note ever.
I'll rebase to make the merge easier and poke people in IRC about whether
listing all notes is prefferable.
Longer term (read, not something I want to do now) we can add a command to
switch overmaps.