allow marking notes/thread as read (bug 897265)

Allow marking the notes and threads as read.

This adds a PATCH method to `/comm/thread/(thread_id)` and `/comm/thread/(thread_id)/note/(note_id)` endpoints to mark a thread or note respectively as read.

Also, some refactoring in `mkt/comm/api.py`.