Further improvement to groovy autocomplete
add and tested resetEnvironment to groovy plugin