Add support for github webhooks with json payloads

Probably premature, as it is currently untested. Still figuring out how to set up my own instance for testing.