update build.xml

use spock framework

add test.class prop

remove groovy 1.7

update the minor versions of groovy
fix test fail in groovy 1.8
print num of processors in env output
add groovy 2.2 and update the minor ver of groovy 2.1
fix a bad test