Added debug_panel to travis requirements
Added assignment-id and stripped trailing spaces
Sent assignmentId to the view and removed commented code
Removed GET parameters in toggle_assignment_activity
as recommended by @IvayloBachvarov .
Also optimized SQL query and mapping.