Adding sha1sum method

This is refers to this ticket: https://github.com/erlware/erlware_commons/issues/64