[declarative] Add roles to MessagesModel that allows painting the messages grouped
This allows to paint three different graphics around the message
depending if the message is first one, last one or any middle one in a
group (ie. messages from one contact).
Reviewed-by: Alexander Akulich <akulichalexander@gmail.com>