logevent debug handler to record last X create/resolve events per check ...

...payloads in files

this is a resubmit of
https://github.com/sensu/sensu-community-plugins/pull/100