fix schedules+attendance models

had some errors in `schedules` and `attendance`, just merging in some basic fixes so that `syncdb` works.