MDL-33774 (experimental) Converting static cache to MUC in filter_activitynames

Static cache was breaking consequtive PHPunit tests after modifications made in MDL-33774
MDL-33774 (experimental) removed caching in filter_activitynames
MDL-33774 Reset filters caches between unit tests