Use common code in tests verification scripts

Move the scripts from beanshell to groovy (to have java5 features support)
WARN: the projet now depends on groovy 2.0.1 otherwise an issue occurs
with the maven invoker plugin when using groovy verification scripts