E0d/automating edxapp

Refactors and cleanup the automated role and puts the plumbing in place to allow automation of edxapp tasks.