Adding support for serving assets over CDN

This PR makes it easy to set up asset serving over the Amazon S3 CDN.