cleanup unused imports
Fix JENKINS-17296
Fix JENKINS-17307
Fix JENKINS-17234

Changed the error message for a GroovyRuntimeException
Fix JENKINS-17234

Added catch of GroovyRuntimeException to output a different
message so the user doesn't think its an issue with the plugin.