GUAC-932: Further cleanup history display code.

Add HistoryEntryDuration class. Move logic to controller.