ticket: add threaded mode for change history (#9989)
A Javascript-only solution which displays a ''Threaded Comments'' checkbox for toggling back and forth between threaded mode (changes nested according to the ''reply-to'' information) and linear mode (changes ordered by there modification time).