Make SPOC gradebook an API implementation

rather than just hacked in to the instructor_dashboard base file.
Also move the tests from the legacy implementation to the new dash API implementation.
Remove gradebook code from legacy.py (moved to instructor/views/api.py)
Merge pull request #3868 from edx/sarina/inst-dash-cleanup

Make SPOC gradebook an API feature