Added pager duty integration and minor fixes

Fixes #3 and #25