libpacman: Move MD5 implementation from libpacman to libflib.
libflib: Move SHA1 hash code from libpacman to flib.
libflib: Update fmd5 API to flib naming and argument ordering.