Added dedupe of existing images.
Tested and fixed dedupe for existing images.
Exported the _hash_image function at top level, changed duplicate image threshold to 16% from 25%.
Merge pull request #3 from larkio/dedupe

Dedupe Support