Fix associating an assignment with a course from the assignment.
Merge branch 'rails4' of https://github.com/expertiza/expertiza into E1456_karthik