HistoryConsole_save.pl -> diagTicket_save.csv

also some more refactoring:

${$ticket}{$sitename}{$AHUname}
to
$ticket->{$sitename}->{$AHUname}->

${$ticket}{$sitename}
to
$ticket->{$sitename}->