Assignments: Required fields and general JS updates

Added the client-side required fields check for the assignments form. Most JS calls from within the form were moved to `create_assignment.js`, which also got a jQuery overhaul.

This should be pulled after https://github.com/MarkUsProject/Markus/pull/1504