Fix priority; default $vhost_name to node variable

Now vhost_name defaults to the node-scope variable $default_vhost_name.

Also change ssl template in light of changes in the apache_proxy
module.