Check for empty URL and api key before old analytics api call.
Encode course key as a URL parameter.
Add tests for empty analytics server info and url-encoded params.
Fix pylint errors to get below limit.
Merge pull request #5556 from edx/jeskew/fix_split_old_analytics_call

Fix old analytics api call for Split modulestore.