[#43] Check hash of last-modified header

Save the hash of the last-modified header instead of comparing the
difference between the last-modified header and the last_modified
attribute of the resource.