Support for private/mentioned flag

Adds private flag for 1-1 messages.
Adds mention flag if contains user's nick.

Necessary for client to be able to filter on notification type, see https://github.com/Neamar/notiflow-client/pull/6
(and use Object.keys when we need the array access)