Web attachments

Refactors new ticket attachments to match the new model.