Move unique check to addMessage

Trying to fix #22. This ensures that checks happen right before
addition, so there’s no way to have multiple notifications with the
same content.
Updating generated files

grunt build