Attachments with duplicate name #1662

* This patch includes a flash message if file with same name exist in
  same task.

Issue ID: 228001
Task ID: project-7/task-1662