[WIP] 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/
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.