Introduce additional file path variables for use in config file templates.  Modify remaning upload_template() calls to use Jinja with context from env.  Modify upload_apache_config() to create a symlink in /etc/httpd/conf.d if necessary.  Modify upload_logrotate_config() to use a single template file and create a symlink in /etc/logrotate.d if necessary.  Code cleanup.