Filter notifications prior to message creation

There should be a lot less duplicated effort here for multiple contacts and/or multiple media. Hopefully it's a little easier to read now as well.

Fixes #201, which is an issue I filed asking that I do this.