add getMasterTemplateVars method

like getTemplateVars but for Master.tpl