Further fixes to associations and tasks controller.

wasn't sure exactly what to do with the has_many associations in grade_scheme_elements controller you and cait were talking about.