Add “unread” thread list filter, and refactor the “flagged” filter.

@gwprice
though, if we aren't logging the specific filters used, it doesn't make a difference.