Updated Gravatar helper to use auto-detection for pre-hashed email addresses