The dismiss all button now visually unhighlights unread items and closes

This also adds an ajax spinner while loading, and prevents needless loading
if the user clicks the icon to close the popup

Fixes #3