Move GroupTask to backend/core/tasks and fixup imports and BUILD deps.

Also fixup backend/jvm/register.py to use the new GroupTask mechanism.

Fixup JarTaskTest to report the proper alias groups and use a concrete
JarTask subclass.