Move adding a submission to a task to TaskEntity. Deprecate old web resource