Merged course form and homework form

Like this, the data in homework form is submitted if you go to another
course.
Worked on update-homework error handling #49