update API: set groovy as language

ES 1.3 still uses MVEL as the default scripting language. We enforce
using groovy in the tests.
use latest versions for ES 1.3 and 1.4