Fixed dynamic type for "apply"/"update" position, to find apply or update method from applyDynamic #SCL-6786 Fixed
Added Groovy to dependencies, because it's required for Gradle in tests.
utest added to statistic collecting.
Added Java test libraries for statistics