CLOUDIFY-2165 Fixed PermGen issue due to Groovy class loading issue