Use replace for manipulating CourseLocator, so that deprecation is preserved
Merge pull request #22 from cpennington/use-replace-more

Use replace for manipulating CourseLocator, so that deprecation is preserved