Updated ticket contract

- Added application_id and application_name
- Set Form = Qualified on root node
- Extracted attachments from Ticket into its own message type
- Replaced Enums with strings for more flexibility
- Replaced Type with ticket_type