Add timeout support for the notifications.

Make notifications go away once their timeout attribute is expired.
WIP