Add the ability to manage the digest_algorithm setting

Please refer to http://docs.puppetlabs.com/puppet/3.6/reference/release_notes.html#feature-digestalgorithm-setting
This feature enables me to select SHA256 over MD5.