Fix md5 hash

Hash creation according to the documentation
http://en.gravatar.com/site/implement/hash/

1.) Trim leading and trailing whitespace from an email address
2.) Force all characters to lower-case