Optimization in KDE-PIM
Preserve more collection information if we have them available anyway.
This should give us access to collection attributes in itemChanged() in
the IMAP resource without any extra cost and enable checks if e.g. a
specific flag change is allowed in a folder at all.