[FIXES  JENKINS-18528]

- load plugin scripts via classpath if available (jenkins (>= 1.519))
- refactor private interfaces