Use keytar directly

The `atom.getGitHubAuthToken()` API was removed awhile ago, so just use the keychain module directly to get the token.

Also found and fixed an issue where repo URLs with trailing slashes weren't working correctly.