Replace the existing md5 implementation with the faster C md5 implementation used in Python

This is a drop-in replacement, the speedup is ~6x on 32-bit systems and ~1.6x on 64-bit systems.

If everything is good with this change, I can go ahead and implement the new interface (std.digest.md5) using the same library.