* [Virtual Attendants/Email Relay] Fixed an occasional "PHP Notice: Undefined variable: worker_address" log entry from the 'Relay email' action of Virtual Attendant behaviors.
* [CHD-3019] [Scheduler/Maintenance/Platform] Miscellaneous /storage/tmp/php* files are now deleted by maintenance (cron.maint) once they are at least 12 hours old.  These are usually created when someone uploads an import file on a worklist and then abandons the process.
* [CHD-3665] [Scheduler/Maintenance/Platform] Miscellaneous /storage/tmp/mime* files are now deleted by maintenance (cron.maint) once they are at least 12 hours old.  These are created by mailparse and left on the disk if the parser fails before completing.  The original messages are moved to /storage/mail/fail/, and these temporary files serve no further purpose.
[Platform] Added a getLocale() method to the Devblocks translation service.
[Platform/Activity Log] CerberusContexts::logActivity() now returns the created $entry_id.
[Platform/Template Builder] The template builder server now includes temporary variables when extracting tokens from a source template.
[Platform] Updated the example plugin.xml in the SDK
* [Plugins/Activity Log/Localization] Activity Log events defined in the plugin.xml now provide a 'string_key' parameter that links their strings.xml key. This formalizes the translations for activity logs, which makes it easier to work with this data procedurally (e.g. in plugins and the REST API).

* [Plugins/Activity Log] Activity Log events defined in the plugin.xml manifest may now provide an 'options' parameter containing the value 'api_create' in order to authorize their creation through the REST API.

* [Plugins/Activity Log/Watchers] Activity Log events defined in the plugin.xml manifest may now provide an 'options' parameter containing the value 'no_notifications' to exclude the event from triggering watcher notifications. This is particularly useful when logging activities through the API.
* [Profiles/Usability] The permalink URLs generated on worklists and in snippet placeholders will now Romanize accented and non-latin characters (e.g. ä to a). Previously these characters were replaced with spaces, which generated some difficult to read URLs.
* [Web-API/Activity Log] Implemented 'GET /rest/contexts/activity/events.json' in the Web-API for retrieving the list of Activity Log events with IDs, names, options, and translation info.  This data is useful for creating or interpreting Activity Log entries through the API.
* [CHD-3667] [Web-API/Activity Log] Implemented 'POST /rest/contexts/activity/create.json' in the Web-API for creating Activity Log entries. The given Activity Log event must have 'api_create' in its 'options' parameter in plugin.xml in order to authorize this method of creation.  Most Activity Log entries are created automatically based on worker actions, but API-created entries are useful for automatically recording external actions back to Cerb records (e.g. licensing, purchases, store visits, calls, and anything else).
6.6.3-dev checkpoint
[Code Cleanup/SDK] Updated the example plugin.xml in the SDK.
* [Plugins/SDK] Added an 'example.activity_log.event' plugin to the SDK to demonstrate how to add new Activity Log events.
* [Mail/Parser] The mail parser would previously choose a sender address from either the 'Reply-To:', 'From:', or 'Return-Path:' headers (in that order), but if one turned out to be malformed then the others wouldn't be checked.  Now the subsequent headers will be checked until a match is found.
* [Mail/Parser] The mail parser is now more tolerant of malformed 'From:' headers when processing new messages, and will fallback to a simpler email address search if the personal name doesn't comply with RFC-2822.  For instance, all commas in a personal name should be quoted (e.g. "Last, First" <mailbox@example.com>).  When this wasn't the case, messages were being sent to /storage/mail/fail/.
* [Mail/Parser] Suppressed a PHP Notice in the mail parser when mbstring doesn't support the given encoding.  This doesn't affect message processing in any way.
* [CHD-3673] [Virtual Attendants] Fixed a PHP notice ("Undefined index: _types") in Virtual Attendants when editing an outcome with a 'Worklist Type' condition on a '[UI] While displaying a worklist' behavior.
* [CHD-3670] [Platform/Usability] Fixed the broken 'spinner' image when URL rewriting is disabled.  For instance, when replying to a ticket the "Loading, please wait..." popup should have an animated image.  When the page URLs contained '/index.php/' this image was broken.
* [Mail/Usability] When replying to a message, the 'suggested recipients' will now ignore invalid addresses in the original From/To/Cc headers.