Optimize search() return if query has no results
[mms] Added the 'max' and 'min' properties to Horde_Imap_Client_Ids.
[mms] Support partial search limitation even if the PARTIAL search return option is not available on the server (Request #13153).