GRAILS-11665 don't poll directories starting with a dot
GRAILS-11646 add test for JSON encoding handling
move unit test

GGTS has a problem with AST transformations being applied to tests which are defined in the same sub project as the transformation.
Merge branch '2.4.x'