JENKINS-13644 - Rebuild plugin can't rebuild when using parameters specified by copyartifact
-If the build parameter is of type buildselector (copyartifact plugin), then use the createValue from SimpleParameterDefinition to load the parameter. However, the copyartifact plugin should support the createValue(request, jsonObject). As soon as the copyartifact supports this method, this fix could be disabled.
-Added copyright
-Improved test
-Only shows rebuild last build if user has permission to build a project
fixed imports
added some comments