Bugfix: Mailing list mode disables PM emails

Emailing a PM uses the user_posted event/format, but Mailing List Mode disables emails with this format.

We work around this by temporarily using "postedprivate", and then reverting back to "posted" efter the Mailing List Mode check.
Fix typo in XSS test
Merge pull request #2447 from techAPJ/typo-patch-1

Fix typo in XSS test
Merge pull request #2420 from peternlewis/mailing_list_mode_disables_private_message_emails

Bugfix: Mailing list mode disables PM emails
Revert "Bugfix: Mailing list mode disables PM emails"

This reverts commit 6a2dde641716209e89fa7cff75c159255abdf4bd.