Add on_failure handler (API)

[Pretty render](https://github.com/opscode/chef-rfc/blob/sethvargo/on_failure/on_failure.md)