Restricts triggering of alerts to messages tagged to topics

Alerts should not be triggered for messages regarding major changes
to documents that are not tagged to topics.

Story: https://www.pivotaltracker.com/story/show/79009772

Authored by @dp6ai and @pedrosmmoreira