Applied trim and strtolower to Gravatar email per Gravatar docs: https://en.gravatar.com/site/implement/hash/
Added unit test for properly normalizing emails
Merge PHLAK:hotfix/gravatar-trim-strtolower into develop

Pull request #4976