Replaced deprecated hashcompat module with python's hashlib.

I noticed a deprecation warning when I was compiling a project that used django-gravatar and got rid of the deprecation warning.

This is my first commit to an open source project, so I hope I'm doing it right!