[FIXED JENKINS-22879] Fix Groovy classloading issue.
Pass a classloader that is aware of BooleanCategory into Groovy