Adds the option to have a template override for template.xml file

The template just needs to have a copy of template.xml fiel in the template root and it will override the core params file.

This makes it easier to remove unneeded core params and set correct default values on a template by template basis.