Switch to Groovy as the default scripting language

Considered a followup to #6233.