Add an option to assign tags to templates and enable
tag filtering in the templates list and API.