[SOC-3456] Move templates in the extension to make them easily overwritable

The templates have been moved to the extension, and their references have been changed from "classpath:" to "war:". So they are now overwritable in custom extensions.