Bug Fixes in KDE-PIM
IMAP-Resource: Fixed detecting removed messages and clearing of empty folders.
The hack for local items that have not yet been uploaded doesn't work as
it keeps us from detecting remotely removed messages.
In the case of messageCount == 0 we need to ensure m_incremental is false,
otherwise we call both itemsRetrieved and itemsRetrievedIncremental.