a student can only register to a scheduled class once. updated model and added tests for registration. closes #8.