Added function for removing duplicated entries on ticket_flag table.
Added function for removing duplicated entries on ticket_flag table.

djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test,djoudi/otrs-gitimport-test