Add HTML and XML template extensions

Add *.tpl and *.xtpl.