Implement Alerts class

* TODO: Implement email alerts
* Master: Implement hooks for the sourceless event, which should fire when a
  monitored stream loses its source connection for more than 30 seconds.
* Master.Stream: Tweak handling of a disconnected stream to be a little
  more thorough.