Include unread message count in heartbeat

If you have several game tabs open, having to deal with the red dot even though you've read your messages can be frustrating.

What's needed

  • Move message notification bubble code to libgalaxy.ts
  • Add support for making the bubble appear after vanishing (related: #6 (closed))
  • Include the count in the heartbeat API call