New media addon dir rexvar added to master.inc.php
New function getMediaAddonFolder added
replaced strings with media vars and media addon vars