Raise an Exception if asy fails
Changed template behavior

Templates are run inside their own TemplateConfig environment.
They can interact with contests or tasks via @oncontest or @ontask
definitions.

Templates are not copied around any more. They usually supply the
important filenames, which are then used by the contest or the task.