log create & resolve events as json files

log events under settings['logevent']['eventdir'] client_name/check_name/timestamp.{create,resolve}
and keep only last settings['logevent']['keep'] events

useful if you want to pipe the json events to sensu handler while writing/testing the handler
or just as historic data