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
Aha! Even better: what about `requireJsonBody`, from http://hackage.haskell.org/package/yesod-core-1.2.19/docs/Yesod-Core-Json.html?