Trim email address for Gravatar hash

The emailaddress used for generating a Gravatar hash should be trimmed before being MD5'ed. See https://en.gravatar.com/site/implement/hash/.