Add method to mark message as read to REST API

When exposing unread messages counters in
!1283, I
noticed that they were never set to 0.

Fixes #1780
1 job for 1780-mark-as-read in 9 minutes and 35 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #6138
test

00:09:35