Update class.mailparse.php

Best version of https://github.com/osTicket/osTicket-1.8/pull/348

static keyword added to enable strict test mode.
Update run-tests.php

Allow tester to run single test by specifying it on command line: php run-tests.php TestMyThing etc.

Still works for normal tests.
Create test.header_functions.php

Creates a regression test for the parsePriority function, as suggested by GreezyBacon https://github.com/osTicket/osTicket-1.8/pull/348#issuecomment-31326865
oops: Fix css rewrite rule in packager
forms: Fixup misleading page after save
Merge pull request #923 from greezybacon/issue/919

forms: Fixup misleading page after save

Reviewed-By: Peter Rotich <peter@osticket.com>
Make external image placeholder consistent

And use admin-defined site logo
Fix external image in an inline <a> element

htmLawed stripped/discarded <div> tags nested inside inline tags such as
<a>. The previous replacement engine would replace <img> tags with <div>
tags and would cause the HTML to be corrupted by htmLawed.

This patch uses <span> tags which have CSS rules to be displayed as
inline-blocks. This should stay truer to the normal sizing and placement of
the original <img> tag.
Fix placement of [Show Images] button for clients

Previously, the display of the button was incorrect and more than one button
might have been displayed.
Merge pull request #936 from greezybacon/issue/linked-ext-images

Fix munging of linked external images

Reviewed-By: Peter Rotich <peter@osticket.com>
pipe: Decode address lists names after parsing emails

Otherwise, if a decoded email name has a comma in it, for instance

From: =?utf-8?B?RnJ5ZGVubHVuZCBIeW3DuGxsZXIsIEJldHRpbmE=?=
    <bettina.frydenlundhymoller@domain.com>

The address list will be parsed incorrectly since the comma has an ambiguous
significance. Usually, the personal name would be quoted; however, since it
is encoded, there is no need to quote it.
Merge pull request #940 from greezybacon/issue/email-name-comma

pipe: Decode address lists names after parsing emails

Reviewed-By: Peter Rotich <peter@osticket.com>
config: Save integers for autoresponder config
Update class.mailparse.php function splitHeaders

function splitHeaders updated in order to correctly parse mail header lines
starting with tabs
forms: maxlength of 0 means disable maxlength

Instead, previously, a maxlength of zero effectively disabled the field,
because it prevented any user input into the field.
forms: Don't crash adding a form with validation errors
user: Fix variable replacement for %{ticket.user}
oops: Fix decoding of piped email attach file names
Merge pull request #953 from greezybacon/issue/895

Update class.mailparse.php function splitHeaders

Reviewed-By: Peter Rotich & Jared
Merge pull request #966 from osTicket/issue/960

user: Fix variable replacement for %{ticket.user}

Reviewed-By: Peter Rotich <peter@osticket.com>