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
Doesn't seem right to return a 500 when the github API sends us an unhandled event type... maybe this should just ignore the event instead of raising an error?