Rejigger how /course and /static urls are replaced, to make the logic slightly more comprehensible
Rejigger how /course and /static urls are replaced, to make the logic slightly more comprehensible

bmedx/modulestore,bmedx/modulestore,bmedx/modulestore