Clear the notifications map when notifications are dismissed.

Uses a broadcast receiver that notifies when notifications are cleared/swiped away in the notifications area.

Fixes #1481