Breaking out the alerta functions into a separate file
Reduces duplication in alerta code
Fixes the use of curly braces when I meant parans. Silly.
Merge pull request #1 from rrees/sh-config-testing

Config rewrite: break out alerta functionality and add heartbeat rules