Call event.preventDefault() on notification action buttons

But allow you to specify that the event should not be prevented
Merge pull request #261 from edx/db/notification-event-prevent-default

Call event.preventDefault() on notification action buttons