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.

The group properties and remark requests sections are hidden/shown when relevant.

This should be pulled after https://github.com/MarkUsProject/Markus/pull/1504