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