fixed and created specs for teachers and day_classes controllers. Added js add functionality to day_class pages.