This story should be done in conjunction with https://openedx.atlassian.net/browse/MA-978.
Create a new course_api django project in openedx directory.
Use the Course API transformer implemented in https://openedx.atlassian.net/browse/MA-1013
Pass block_counts and student_view_data parameters as arguments to the constructor of the transformer
Support the user parameter
(P2) Support when user is not specified. The current analytics endpoint should eventually be reimplemented to use this one instead.
Complete unit tests