Refactor #10107 Set default template at new template var
http://tracker.modx.com/issues/10107