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
Yeah, we'll want to track base and head together, so that the diffs accurately represent what the PR diff at the time of the sync was.