* [CHD-3615] [Virtual Attendants/Scheduled Behavior] Fixed a bug where a deleted Virtual Attendant behavior could remain in the scheduled behavior queue and cause an error when viewing an associated profile.
6.5.5-checkpoint
Merged 6.5.5 into 6.6
[Code Cleanup] jQuery UI 10.3 compatibility fixes for API changes
[Code Cleanup] Updated devblocks-dao.php helper.
[Code Cleanup/Mail] An SMTP Auth password is no longer required to enable authentication mode when testing settings. The SMTP user being defined is sufficient.
[Code Cleanup] jQuery UI 1.10 compatibility tweaks
[Code Cleanup/CSS/Sprites] Updated sprite icon resources.
* [CHD-786] [Mail/HTML] Workers can now send HTML formatted email replies from Cerb.  This feature was a long time coming, as we wanted to implement it in a way that was consistent with Cerb's spirit of productivity and automation, which are heavily based on the efficient processing of large amounts of text.  To facilitate this, the feature is divided into two parts: HTML templates and Markdown syntax.  Multiple HTML templates (e.g. letterhead and stylesheets) can be created from the Setup->Mail->HTML page.  Each group and bucket can be configured to use a specific template by default, which determines the style of their HTML replies.  Templates can contain any valid HTML, although most mail apps will sanitize the messages (e.g. removing Javascript).  Rather than introducing a visual HTML editor which obscures the underlying text, workers can reply with Markdown syntax to bold, italicize, link, embed images, quote, and to add headings, code blocks, and lists.  Markdown is a markup language that was designed for use in email to preserve human readability.  This "progressive enhancement" approach provides workers with greater flexibility in their replies without compromising efficiency.  Outgoing messages in the Cerb history are still displayed as plaintext.  Additionally, Virtual Attendant behaviors are capable of working with Markdown syntax much easier than with HTML directly.
[Code cleanup] Formatting
* [CHD-786] [Mail/Reply/HTML] When workers are replying to mail, an editor is now provided to assist with using Markdown formatting.  By default the editor starts in plaintext mode, which behaves the same as Cerb always has (i.e. only sending text responses).  In this case the toolbar only displays a single button that toggles rich text functionality.  Once that button is clicked, the toolbar expands to provide: bold, italics, unordered and ordered lists, embedded images, external images, links, quotes, code blocks, and a preview option.  The preview option displays the HTML version of the current reply in a popup window.  It will also use the HTML template of the current group and bucket, if available.  The preview window can be left open while responding, and it will update its contents every time the RETURN key is pressed.
* [Storage/Files] Attachments can now be requested by their SHA-1 hash in a URL, in addition to the globally unique ID of any of their links.  This makes it possible to refer to attachments that have been uploaded but not linked to anything yet.  For instances, this is useful for implementing embedded images in mail and knowledgebase articles; those images would need to be previewed before the record (and link) is created.
* [Platform/Usability] Popups will now open in the middle of the browser window by default.  They previously opened in the top center, which made smaller popups less noticeable.
* [Plugins/Platform] When a file is uploaded using the file chooser popup, it now provides the caller with a SHA-1 hash and internal URL, as well as the entire response object (name, size, mime type, etc).  This should make the file chooser reusable in more situations; for instance, in providing embedded image functionality.
* [Mail/Reply/HTML] Workers can now send inline images in their replies.  A new 'Upload an Image' button is available in the toolbar when replying to mail with HTML formatting.  This button displays the file chooser popup, which automatically generates the syntax for an embedded image once saved.  The image is visible in the preview popup, and once the message is sent Cerb will automatically convert it to an embedded image for the recipient (i.e. replacing the link to Cerb with a self-contained MIME part).
6.6-dev checkpoint