introduce a new ticket-active class and add status

This makes it possible to style active ticket links different and
also style ticket links by status.