Show thread as unread if at least one of the messages of the thread is
unread.

Fixes issue 4759.
Merge pull request #238 from maniac103/thread-unread

Show thread as unread if at least one of the messages of the thread is unread.