Config rewrite: break out alerta functionality and add heartbeat rules

This combines @satterly 's changes to introduce a heartbeat with a restructure that takes the alerta adaptor outside of the config file again and abstracts what endpoint you want to hit in Alerta.