* [Web-API/Search] Fixed an issue when searching through the Web-API using the 'in' operator.  The API passes all arguments as strings.  A non-array value was being discarded, which resulted in that particular criteria being ignored.  If it was the only criteria, the entire result set could be returned.  String arguments to 'in' are now automatically converted to single element arrays.

* [Web-API/Search] Multiple values can be passed to a Web-API search filter (e.g. "in") by JSON encoding them.  This returns a string that is converted back into an array by Devblocks.  Even without a JSON library available to the caller, the format can be simulated -- ["value1","value2"] -- and the quoted elements should be escaped.  In PHP you can simply use the json_encode() function.
* [Mail/Filtering] Mail filtering can now perform regular expressions against headers that have multiple instances (e.g. Received).  The values are concatenated into a single string with line feed (\n) delimiters. A regular expression check can use the 'm' flag to match against each line.  Any matching line will pass the criteria.
* [Mail/Parser/Relay] The parser will now identify a relayed worker message as a reply before any mail filtering behavior runs.  This enables filtering to authorize or reject messages that are relayed from workers outside the helpdesk (e.g. from mobile devices).  This is useful when disabling the built-in relay authentication -- for example, when using Blackberries/Exchange or other combinations that are known to ignore the RFC-2822 standard headers.
* [Mail/Parser/Relay] Refactored the worker relay authentication code in the mail parser to make it easier for developers to introduce alternative authentication schemes.  By default Cerb will expect the 'in-reply-to' header to contain a special hash that was sent in the relayed 'message-id'.  In some environments this doesn't work as expected because the RFC-2822 standard headers aren't sent back.
* [CHD-2897] [Mail/Relay] Workers can now send file attachments through the mail relay from their external email accounts and mobile devices.  Previously these attachments were just ignored.  Now they will be displayed in Cerb and sent on to the ticket's recipients.
* [CHD-3084] [Mail/Search/Usability] The response time and resolution time fields on message and ticket worklists can now be filtered using human readable times like "> 2 days" and "< 1 hour, 15 mins".  Previously, the filters displayed in seconds, which wasn't very intuitive.
* [Mail/Reply/Drafts] Fixed an issue where two workers replying to the same ticket within 30 seconds sometimes didn't trigger the 'recent activity' warning.  The pending draft check has been increased to 5 minutes in the past, which should be sufficient to cover the gap between a draft being saved and another worker viewing the ticket.
* [Virtual Attendants/Unschedule] Fixed an issue where re-editing an action that unscheduled behavior apparently reset the 'On:' and 'Behavior:' options.  These were right in the database but not reflected properly in the interface.
Merge branch '6.1' into 6.1.1
6.1.1-dev checkpoint
[Code Cleanup]
Merge branch '6.1' into 6.1.1
Merge branch '6.1.1' into fix/6.1