Throw IOException if negative int from port-based cli connection stream.

-Instead of failing at initializing array with negative size.
Introducing PowerMock test for the zero-size array case.
Negative-size case not tested thx to unhelping PowerMock behavior.
Using ConnectionMockTest instead of ConnectionTest; needed by PowerMock.
[FIXED JENKINS-20610] symlink FileAlreadyExistsException

Retrying 3 times while waiting for 100 millis between retries (at
recreating symlink after "deleting" it). Ends up throwing FAE exception
if thrown for a 4th time in a row - as not much can be done at that
point. A warning is logged in that case, prior to throwing the last FAE.
Cleanup of Russian translation after merge of community-provided changes in https://github.com/jenkinsci/jenkins/commit/7828dcb46d9a18f88cc8e71046edc9ee91ed95e6

More info: https://groups.google.com/forum/#!topic/jenkinsci-dev/JXvazIROoQg

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
[maven-release-plugin] prepare release jenkins-1.540
[maven-release-plugin] prepare for next development iteration
updated changelog for release
[JENKINS-13978] option to copy a view
Merge branch 'fork_fix-fae-exception' of github.com:marco-miller/jenkins into marco-miller-fork_fix-fae-exception
[JENKINS-20610] Noting merge of #1019.
updated changelog for release
updated changelog as a part of the release
merged back the RC branch
Botched update
Test regression fix
Merge branch 'master' of github.com:jenkinsci/jenkins
creating an RC branch
the trunk is toward 1.542-SNAPSHOT
typo
Latest version
define a header that enables 503 pages to disengage applySafeRedirector.