Fixes grade range issues and template for copyclasses

See issue #877.

Grade ranges will now be left blank if they don't fall within the program grade range. In addition, this change clears errors from the teacher reg Form instance if populate_only is true in makeaclass_logic, so that we don't immediately show an error if portions of the form is incomplete from the import.