Github v3 api

The github api v2 was shutdown, so this changes are to upgrade to the v3 api

I also added the nickname and email fields to `AuthInfo`.
Email sometimes is `null`, so I had to do some checks to get the right value.

Tested it against an application I have and it worked.

Thanks