Edit classes and few minor fixes

Created tables, forms, and logic for editing classes, this allows
instructors to add and delete from their own classes. Also fixed a few
minor errors in some import code.