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.
Content type is one logic, use else.