Implement a generic MD5sum wrapper.

This wraps around polarssl's MD5sum capability.
Spawned from the discussion in PR #265.

Also relies on PR #265