MDL-39913 assignsubmission_file: js-driven checkbox behaviour

Instead of form rules and CSS trickery, manipulating the visibility
of checkboxes and keeping dupe checkboxes in sync with their checked
states is handled by a JavaScript module.