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.
SECURITY: fix XSS
HACK: disable undo/redo editor functionality

TODO in a few weeks, rip out all code.
collapse tests to improve perf of suite
BUGFIX: do not strip spaces from raw_hash of posts
BUGFIX: no network could mean no posts save.
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.
ip locator on ipinfo.io basis added to admin
load others with same IP feature
Translation stubs and minor style edit