MAGE-437: Prepare for Cloud: Make CSS and JS ouside of media
- implemented cdn support for merged css/js files (upload/url substitution)