GROOVY-5509, GROOVY-5917: Add basescript and configscript options to groovy (not only groovyc)