If the IMAP server does not send a PERMANETFLAGS resp-code, assume all flags permanent

Fixes issue #140