CourseRefresher: delete old cache after commit, not before.
Merge pull request #184 from testmycode/delete-old-cache-after-commit

CourseRefresher: delete old cache after commit, not before.