Custom Ticket Statuses

Continuation of PR #1094