collect: more template customization
Enable more variables that can be substituted in the collect template.
Example: for a course with several groups, enable e.g.:
course.py collect assignment --template "{group}/{username}"
Tentative variables:
- assignment
- group
- ???
Technical difficulty: collect is currently implemented generically for any project, not only an assignment; can this feature be implemented while keeping this genericity?