Fix "BAD Invalid date in Search command" from Cyrus IMAPD.

Bug #740041.

* src/engine/imap/message/imap-internal-date.vala:
  Geary.Imap.InternalDate::to_search_parameter was returning the result
  of serialize(), rather than serialize_for_search().
Merge branch 'master' into wip/737642-uint