[SE-4304] Allow custom upload directory and filename for grade and calculated profile reports

Description

This PR allows to set a custom upload directory path and filename for the grade and calculated profile reports though their `task_input`s.

*JIRA tickets*: None

*Discussions*: None

*Dependencies*: None

*Screenshots*: N/A

*Sandbox URL*:

No sandbox were created, due to this change would/could be used by plugin apps instead of directly from the platform.

*Merge deadline*: None

*Testing instructions*:

1. Start a django shell
2. Import wrapper functions `submit_calculate_grades_csv` and `submit_calculate_students_features_csv`
3. Create a fake django http request
4. Call the wrapper functions with an `upload_directory` and/or `filename` keyword arguments
5. Wait for the report generation
6. Check the corresponding report(s) under `/tmp/edx-s3` (default) or the configured upload dir

*Author notes and concerns*:

1. Other wrapper functions (`submit_*`) were not adjusted accordingly as that would require significant effort for refactoring and adjusting unit and/or integration tests.

*Reviewers*

  • [ ] @pkulkark

  • [ ] TBD

*Settings*
```yaml
EDXAPP_FEATURES:
ENABLE_COMBINED_LOGIN_REGISTRATION: true
```

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Gábor Boros

Repo

edx/edx-platform

Customer

Github Lines Added

120

Github Lines Deleted

49