Refactor training API call to move logic into AITrainingWorkflow model
Merge pull request #353 from edx/will/refactor-training-api-call

Will/refactor training api call