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
That doesn't seem much more readable, I'll just keep it as is for now I guess.