Kui kasutaja pressib "q" nuppu, siis...

Modify the class ee.ut.math.tvt.salessystem.ui.ConsoleUI. When user is
pressing the "q"button, your application should end the database session
before the exit (using SalesDomainController#endSession)