Add option to trigger stats when exceptions occur

In response to https://github.com/JustinAiken/adhearsion-stats/issues/4