Allow groovy as a scripting language for filters

Using the -g option instead of -f... This can be
significantly faster than javascript.