Adding analytics api
small cleanup
removing unused datadir var
updating task name
Merge pull request #1227 from edx/jarv/analytics-api

Jarv/analytics api