generalized _request method
generalized _request method

Since GitHub API have different HTTP commands, request composing put in
github3._request function.

- github3._get works as a wrapper
- github3._put sets Content-Length and empty JSON-hash body

edwardhotchkiss/github3