Mostly removed gratuitous uses of AbstractProject/Build from hudson.tasks.test/junit.
[FIXED JENKINS-23988] Consider CLIAuthenticator for CLIMethods
Refactor CLIRegistererTest.testAuthWithSecurityRealmCLIAuthenticator
Getting back to existing CLIMethod command as I failed to register CLIMethod from jenkins-test-harness
Merge branch 'master' into BuildStep-Job
Replace project with job.
Possibly better compatibility (though does not handle someone actually overriding parse).
Adding `@since TODO` to all new members.
Fixing a remaining usage of AbstractBuild.
Unused import.
Updating references to deprecated members from Jelly.
Sketch of SimpleBuildStep and its usage; not yet tested.
[FIXED JENKINS-24032] Different message when restart is not supported.
[FIXED JENKINS-24095] Ensure only numExecutors exist when reducing

When reducing the number of executors from M to N, previously it'd
kill all idle executors, and then create executors 0...N-1 unless
they already exist (busy executors).

This can lead to the situation where e.g. executor #5 is busy and
retained, and when setting the number of executors to 3, 0...2 are
created, resulting temporarily having 4 executors.

This change prevents #2 from being created in the example. When #4
is finished, it'll be killed anyway and a new executor #2 created,
so after some time the executor indexes are cleaned up matching
expectations.
Merge branch 'master' into BuildStep-Job
Prefer @DataBoundSetter to lengthy constructors.
Reverting quasi-fix of JENKINS-4588, as it merely obscured unrelated exceptions.
Anyway the originally reported stack trace looks like it could no longer happen, due to more robust model classes.
Some more forgotten uses of AbstractBuild.
Some more forgotten uses of AbstractBuild.
Merge branch 'master' into BuildStep-Job

Conflicts:
	core/src/main/java/hudson/tasks/test/AbstractTestResultAction.java