RT #96016: "\n" in a string not escaped properly

Hi Cosimo, here is the patch I mentioned. Some of the changes in the test file are due to me running perltidy with the perltidyrc file in the root directory, but I also tidied up one of the msgstr arguments as all those escapes where bugging me :D ... oh and added a test for inline "\n" :)