MDL-35131 Caching: Purge all will clear course modinfo cache - Thanks to Thomas for patch