Update the version of groovy and selenium

- set groovy version to 2.2.2
- set selenium version to 2.41.0