[#30851] Administrator templates overrides for media manager are not working

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30851

This supersedes #1208