Fix return value of models.server.Ticket#markAsRead(...)

and add unit test for it.

cc @jpkorhonen