Merged revision(s) 1617078-1617079 from lucene/dev/trunk:
LUCENE-5881: Add "beasting" of tests: repeats the whole "test" Ant target N times with "ant beast -Dbeast.iters=N"
LUCENE-5881: Add parameter check, beautify some other groovy code

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x@1617080 13f79535-47bb-0310-9956-ffa450edef68