INT-2991 Filtered Messages Marked SEEN

Missing else clause caused filtered email messages to
still be marked as SEEN. Also marked un-filtered messages
twice if a filter was present.

Add else; add tests.
Merge pull request #784 from garyrussell/INT-2991

* garyrussell-INT-2991:
  INT-2991 Filtered Messages Marked SEEN