Updated copyright notices to include the year 2018.
lib-storage: mail_search_args_to_imap() - don't add parenthesis around OR There's no need to write "(OR a b)" when "OR a b" works just the same.
lib-storage: mail_search_arg_to_imap() - remove () around a single flag/keyword
Partially implemented IMAP SEARCH=X-MIMEPART capability. This capability is currently Dovecot-specific.
Updated copyright notices to include the year 2017.
global: Use const for all test_functions[] arrays
global: Use "static const" for all struct tests[] arrays
global: freshen copyright git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/'
lib-storage: Added mail_search_args_to_imap() Useful for writing IMAP SEARCH parameters from struct mail_search_arg.