Rewrite using TCPSocket, proper JSON generation

Creates an arbitrary event in Sensu in the event of a failed Chef run. Don't really expect us to use it much but I started this awhile back while messing with the 127.0.0.1:3030 stuff and figured I should just finish it up. Works fine.