JENKINS-21750 DSL support for the promoted-builds plugin

Include the possibility to generate configs to use the
"Promoted Builds Plugin". Add new DSL components and generators
for creating XML files in the place where the plugin expects it to be.