[JENKINS-22354]

Avoid having FilePath to depend on Jenkins, which increases the amount of classloading that has to happen during remoting
[JENKINS-22354]

Reduce classloader activities.

This brings in Stapler and commons bean-utils that we don't need on the
slaves.
fixed a test regression