Test calling a protected supertype method in Task compile-compatibility test

- This validates the fix for GRADLE-3207

+review REVIEW-5306
Added remaining non-incubating tasks implemented in Groovy to compile-compatibility test

+review REVIEW-5306