add GitHubApi class and use it, fix README link to GitHub app registration