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

An update to @GregSutcliffe's original PR (https://github.com/theforeman/smart-proxy/pull/100/files). Ports his original feature to the new plugin api.
nitpick: "capsule" shouldn't be used upstream, it's the downstream productname. "smart_proxy_fqdn" would be better.