Added support for JSON Github requests

Github can send hook events either in json format or in urlencoded format. Ghprb supports only the latter one, which is confusing and not convenient sometimes. This change adds JSON format support.
I don't want to go if {} else {if {} else {}}