Add github event handler

Note this just updates the head history table for now. I'll update it to actually display the history later.

@cpennington
could just be `raiseError = either (error . show) id