* [PHP] Fixes for compatibility with PHP 5.4+
* [Code Cleanup] Cleaned up a few PHP warnings.
[Code Cleanup] More PHP 5.4 fixes.
* [Platform/Snippets] Fixed snippets and the Devblocks template builder in PHP 5.4+.
* [CHD-3080] [Mail/Worklists] Fixed an issue on ticket worklists where the status subtotal counts for open/waiting could be slightly off if tickets were in strange states (e.g. waiting and closed).  Also fixed a related issue where searching for status='!deleted' could give slightly different results than status='open,waiting,closed'.
* [CHD-3078] [Support Center/Knowledgebase] Fixed an issue with the Knowledgebase in the Support Center where starting a new search didn't reset to the first page of results.

Signed-off-by: Jeff Standen <jeff@webgroupmedia.com>
* [CHD-2787] [Mail/Compose] Fixed an issue where a worker wasn't associated with composed messages that they sent through the Broadcast feature.  This generally wasn't an issue, but it logged a NOTICE in the error log.  It had a happy consequence of not polluting worker reply totals with automated messages, but that's been addressed with the new 'is broadcast' field in 6.1+.
* [CHD-3075] [Virtual Attendants/Usability] Fixed an issue where Virtual Attendant behaviors were displayed alphabetically even if they were previously dragged into a different order.
6.0.6 checkpoint
[Code Cleanup]