escape gravatar URLs to comply with W3C standards

This fixes an HTML validation error due to & not being properly escaped on the gravatar URLs.
fixes user specs about ampersands in gravatar URLs
Merge pull request #2284 from jaimeiniesta/patch-1

escape gravatar URLs to comply with W3C standards