Pulled up resource() to CapybaraPortingLayer and added copyResource(String path) to Job.
Use copyResource in AbstractCodeStylePluginHelper.
New test for picking static analysis plugins that should be collected by Analysis Collector Plugin.
Replaced switch with abstract enum method.
save commit
New testcase for "Analysis results" on job page.
Merge branch 'master' into collector

Conflicts:
	src/main/java/org/jenkinsci/test/acceptance/plugins/analysis_collector/AnalysisCollectorPublisher.java
	src/test/java/plugins/AnalysisCollectorPluginTest.java
completed step 1 refactoring task scanner publisher to be used with build settings configurator approach.
 - added an additional hierarchy layer for task scanner build settings
 - added a maven build settings class
 - refactored controls of AbstractTaskScannerBuildSettings (former TaskScannerPublisher) to be in line with the handling and naming conventions in AbstractCodeStylePluginBuildSettings

Be aware that the changes made to TaskScannerPluginTest have been done automatically by IntelliJ during the refactoring actions mentioned above. Further refactoring is still necessary and will be done in step 2.
this time step 1 refactoring is really complete. some setter were not implemented in the last commit.
introduced a generic setupJob and editJob to AbstractCodeStylePluginHelper class which should be able to replace all setup*Job* and editJobAndChangeLastResource methods (marked them as deprecated).
editJob further supports all modifications to a job which are done within the task scanner tests at the moment.
some necessary changes to AbstractCodeStylePlugin*BuildSettings classes
completed step 2 of refactoring task scanner related code
- adapted all task scanner tests to new configuration concept (successfully retested)
- added set methods for build status threshold controls to AbstractCodeStylePluginBuildSettings
- introduced exists method to Control object which tries to resolve the object and returns false if the element was not found (NoSuchElementException)
- modified ensureAdvancedClicked as the old implementation did not work in case the job configuration was opened again (the boolean was never reset).
- bugfix to editJob method
refactor: removed nearly all usages (except maven-builds) of the deprecated methods and changed to the new way;
MMerge branch 'collector' of https://github.com/eidottermihi/acceptance-test-harness into refactor-configuration-analyzer-plugins
Refactored AnalysisCollectorPluginTest to use Configurators/BuildSettings.
added convenience method for jobs without maven goals and removed unused deprecated methods
Removed duplicate method.
Merge branch 'collector' of https://github.com/eidottermihi/acceptance-test-harness into collector
removed deprecation note for setupMavenJob
Merge remote-tracking branch 'upstream/master' into refactor-configuration-analyzer-plugins
Merge branch 'master' of https://github.com/uhafner/acceptance-test-harness