Handle Macintosh style line endings for CSV import
oops: Fix incorrectly placed header line
oops: Fix missing warning on cgi.fix_pathinfo
oops: Fix saving company information
oops: Fix gross error truncating thread messages
oops: Allow filter to set help topic
Fix XSS Vulnerability In "tpl.inc.php"

Fix applied to where the value is directly output to browser instead of where fetched in case special chars are allowed in `code_name`, which may break logic prior to output.
Apply numeric sort to the ticket number column
Merge pull request #1139 from greezybacon/issue/csv-import-line-endings

Handle Macintosh style line endings for CSV import

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #1155 from greezybacon/issue/filter-set-topic

oops: Allow filter to set help topic

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #1162 from KyraD/patch-1

Fix XSS Vulnerability In "tpl.inc.php"

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge pull request #1154 from greezybacon/issue/1144

oops: Fix incorrectly placed header line

Reviewed-By: Peter Rotich <peter@osticket.com>
Merge remote branch 'upstream/develop' into develop-next

Conflicts:
	include/class.thread.php
	include/staff/header.inc.php
oops: Fix crash rendering ticket filter subsystem
Support criteria based lookup for statuses

Only cache results for ALL items
Support packing system messages into the session

Messages are extracted on post-action redirect.
Support adding comments on status change

If a comment is provided it's handled as an internal note - allowing for
alerts to be sent out (if enabled)
Ticket status change

Move ticket status change to unified backend.
Bug: Fix navigation

Fix cases where first item added via addSubMenu got deleted.
Add modal dialog for alerts