Move TicketAttachment to own class.
add upgradestep to fix mimetypeicons