replaced deprecated function
moved icon mechanism to class
introduce a cached version of te ACL checking

for iterating over media namespaces