Instantly return false if comparing a Digest to a nil (ruby-core bug 9913)
Merge pull request #2122 from cheald/check_digest_comparison

Check Digest comparison for nil