Strip html comments - stupid outlook uses them to import css styles.
Explicitly request stripping of tags when sanitizing thread entry.
Fix a method name - (copy and paste) typo.
Add routine to decode mime string.
Convert decoded header text to the desired charset/endoding.
Pass desired charset to mimeDecode class
Convert to desired charset when getting email parts.
Merge pull request #513 from protich/issue/outlook_crap

Strip HMTL Comments from thread entries

Reviewed-By: Jared Hancock <jared@osticket.com>
Drop unused/uninitialized var - groupby
Remove undefined routine typo...
Merge pull request #517 from protich/issue/508

Consistent decoding and transcoding to UTF-8 as anticipated by the rest of osTicket

Reviewed-By: Jared Hancock <jared@osticket.com>
Merge pull request #514 from protich/issue/510

Fix a few lint errors

Reviewed-By: Jared Hancock <jared@osticket.com>
Clear overdue flag if duedate or SLA changes and the ticket is no longer overdue.
Use GMT to compare due dates.
Merge pull request #518 from protich/issue/overdue_revisited

Clear overdue flag on ticket update

If the due date or SLA changes and  pushes the actual deadline into the
future and the ticket is currently overdue, then drop the overdue flag.

Reviewed-By: Jared Hancock <jared@osticket.com>
Use email address when FROM field doesn't have a name.
Merge pull request #520 from protich/issue/519

Use email address when FROM field doesn't have a name.

Reviewed-By: Jared Hancock <jared@osticket.com>