Case sensitive replace of instances of thread to ticket

Replace:
- `Thread` by `Ticket`
- `thread` by `ticket`

Covers both- Code as well as strings