Ticket states work properly
Merge pull request #1 from JorenZ/ticket-state-machine

Ticket states work properly