INT-3011 Pass BeanClassLoader and BeanFactory to GroovyScriptFactory

https://jira.springsource.org/browse/INT-3011