added API call for total unread topics; moved unread notification parsing to client side

also fixed a bug where the new notification icon glow would disappear on
page refresh even if there were existing notifications.