Remove unused methods from deliverables controller
Removed unused variable and part of code.
Renamed method from get_assignments_for_student to get_assignments_for_course and corresponding changes to view and routes