[qmf] Introduce a limit() for the qmailmessagelistmodel

Introduce the possibility to restrict the number of messages the qmailmessagelistmodel
can hold.