Use own class for TicketAttachments and upgradestep to reindex icons

@maethu We now have a own class for TicketAttachments and a upgrade step to migrate and a second one to reindex the icons.