Only update the favicon if you'd see the message

And it's not from yourself.
Merge pull request #162 from jorygraham/update-notification-count-properly

Fix favicon logic