define checksum functions as constants at the top, use constant for default md5 checksum
fix typos (no commas at the end)
Merge pull request #779 from boegel/checksums

define checksum functions as constants at the top, use constant for default md5 checksum