Fix for JENKINS-16942

https://issues.jenkins-ci.org/browse/JENKINS-16942

PrintWriter.println() uses the OS specific line separator. When
SecretRewriter rewrites the secret file, the lines are converted to the
format of the running OS.  The test case does not account for this.
Since the test case is coded expecting line endings of \n, this fix
converts \r\n to \n before comparing.
Replace \r\n with system property line.separator

Implementing change as suggested by vjuranek
Merge branch 'master' into JENKINS-16942
the trunk is toward 1.511-SNAPSHOT
[FIXED JENKINS-7970] JUnit result archiver should only fail builds if there are really no results - i.e. also no skipped tests.
Complete German translation
[FIXED JENKINS-8686]

As I mentioned in the comment, I doubt if this makes any behaviour change, but this seems like a sensible defensive measure that wouldn't hurt.
Verifying that repeating hash syntax does something useful.
http://stackoverflow.com/questions/11896675/can-i-make-the-scm-polling-interval-for-jenkins-randomised/11898132#11898132
[FIXED JENKINS-17454] Display parameters of queue items in build history widget.
Also provide proper overrides of ParameterValue.getShortDescription, rather than delegating to toString.
[JENKINS-16845] Diagnostics.
[JENKINS-16845] Hotfix to at least allow the job to be loaded.
Root cause seems to be broken serial form of FingerprintAction, probably caused by lazy loading.
Merge pull request #745 from rhadman/JENKINS-16942

[FIXED JENKINS-16942] SecretRewriterTest failure on Windows 7
[FIXED JENKINS-15365] Invalid translation
[FIXED JENKINS-14067] Polish localization breaks permalink descriptions

fixed invalid format string
Merge pull request #754 from albers/JENKINS-15365

[FIXED JENKINS-15365] Invalid translation
Merge pull request #753 from albers/JENKINS-14067

[FIXED JENKINS-14067] Polish localization breaks permalink descriptions
[FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven module jobs. shows TopLevelItem only.
fixed redundant it.tiedJobs.
removed unused import
updated Japanese localization