Refs #969 - Foreman-side changes for serving templates from the proxy

Needs the proxy-side PR to function.

The unattended template tests got slightly restructured to make more sense, sorry for the noise in that file.