CDN: Allow disabling via cdnPublish flag

Fixes gh-55
Closes gh-56