Major refactor of existing honeybadger reporting code.