solved ticket https://issues.jboss.org/browse/RAILO-2607 and renamed Closure scope to make the name unique
Merge remote-tracking branch 'origin/4.1' into 4.1