Adding support for application/x-www-form-urlencoded content type webhooks

Some versions of Gitorious do not support webhooks with application/json content type payloads to be sent. This PR should allow either application/json or application/x-www-form-urlencoded content types to be understood by the receiver.