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.
Will the string formatting done after log level check?