Cover all statuses in user stories panel

- Fixed sorting so that the result is actually used
- Store the status mapping in ticket.simpleStatus
- Sort on the four simple statuses instead of all the original statuses
- Map ticket colouring to simple status instead of original status