Append per-folder search results to global index but only if it has matches
- Make search scope selectable in UI
- Disable thread mode when searching over multiple folders
- Encode UID values for HTML message row identifiers
Fix row UID handling in list widget