CDN settings

Very basic CDN support. Currently enabled just for jQuery itself and an optional
image base URL. Gets us pretty much everything we need. - Fixes #277