Fix #1453

Used addslashes() to prevent smilie JS errors (not sure if it's the best
solution, but it was used in misc.php only for some reason).

Also added spaces in misc.php inserter for consistency and listed the
replacements in new lines instead of separating them with space/comma
which looks kinda weird.

https://github.com/mybb/mybb/issues/1453
Why change this? Isn't splitting each string to find by comma better than spanning onto several lines?