Fixed gravatar_id api depreciation and authentication with omniauth

I noticed I couldn't login due to an issue with Rails 4 and omniauth.

I also fixed the depreciated GitHub gravatar api spec https://developer.github.com/changes/2014-09-05-removing-gravatar-id/