added support for creating/updating config files
fixed JENKINS-24510
Merge pull request #274 from CoreMedia/config-files

Support for creating/updating config files
Merge pull request #276 from CoreMedia/JENKINS-24510

Fixed JENKINS-24510
started to port DslScriptLoader back to Java

The Groovy version causes a regression when executing script files with a
name that is not a valid Java class name, see GROOVY-4020. E.g. when
running a script called jobs-blog.groovy the following exception is thrown:

java.lang.ClassFormatError:
Illegal class name "jobs-blog$run" in class file jobs-blog$run

One would assume that this should also be a problem in the Java version of
DslScriptLoader, but for some reason it isn't.
finished porting DslScriptLoader back to Java

I did this in two commits to allow Git to maintain
the history of the file.