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.