Core/Tickets: Fix crash in TicketMgr::ResetTickets()

Description:
Currently there is a crash in TicketMgr::ResetTickets(). This function can be called by the command .ticket reset.

The crash happens because in the current code the function RemoveTicket invalidates the itr, which is used for iterating over the _ticketList. ++itr tries to access that variable, but since it has been invalidated by RemoveTicket it will result in a crash.

The fix increments the itr before calling RemoveTicket, so that function can not invalidate the current itr leading to that crash.

Environment:
Tested it under Win with:
TC: 895a23d
DB: TDB 52