Almost there: edit function now works through Ajax. TODO minor fixes, figure out how to change button on edit course form to say 'Update Course', and set accordion so that editted course is shown.
All functions pretty much complete. Need to maybe clean up and comment code though.