Github has deprecated the gravatar_id field.

That means we can't use it as cache key anymore. Instead, use the user
ID.
Rename GravatarHandler to AvatarHandler.

Reflects the fact the image fetching isn't done from Gravatar anymore.