Adds CDN deployment and access support

Non-html site elements can now be accessed through CDN URLs for remote
deployments. Also adds optional Google Analytics script inclusion to the
base template.