Fix course module deletion and cleanup.php. Fix page moving when quotes in names