Do not create new attachments when a duplicate is uploaded #1027
Fix bugs in duplicate file recognition #1027
Display a message for duplicate files on #uploads screen #1027