Follow-up on review

- Added and fixed JSDocs where necessary
- Parameters are passed in separately in createTicket() in TicketsDAO
- getTicket was removed when a ticket was created, just return the object
- Added a `isCorrespondingTicket` and `isValidTicket` method in the unit-tests