GROOVY-5932 fix covariance defaultargument problem. The code did modify the modifiers if methods nodes not belonging to it. This part of the code has probably more bugs than just this, but this fix will help limit the problem
GROOVY-5509, GROOVY-5917: Add basescript and configscript options to groovy (not only groovyc)