Alter vhost configuration for Capistrano deployments to provide the base directory instead of separate current and release paths; template application database configuration within shared resources