Currently kmail has only a hardcoded check for pop3 and imap resources
when switching online/offline mode.
That means new/3rd-party resources can not participate
in this switching.
With introducing a new capability label "NeedsNetwork"
in a resources .desktop file, kmail can now switch the online mode
for all resources which have this flag set.
REVIEW: 122228