LUN-1630: if cdn domain is provided, use it as a custom domain and serve files from it.
LUN-1630: code style changes
Merge pull request #19 from pbs/LUN-1630

Lun 1630