Fix submission and upload errors.

Rails is creating submission_files pre-emptively. This commit
removes unused objects before Submission.save and Submission.update
to prevent sparking a database error from the upload's filepath
column being empty.
Applied uploads check to assignments
Merge pull request #696 from UM-USElab/uploads

Fix submission and upload errors.