Add history persistence in the trac cmd
Make the code more resistant to user errors
Move to python3
Give the possibility to print several values in the ticket_query_print command