Remove gradebook code from legacy.py (moved to instructor/views/api.py)