[mms] Ensure that a FETCH call will not exceed maximum allowed command length on the IMAP server (Bug #12001).

[mms] Add Horde_Imap_Client_ids#split().