Checks for duplicate attachment images added.
For new images the md5-hash is calculated and saved in the metadata of
the post. Duplicate images are reused and attached to the new post.