Support CDN overrides for resources; change token for url replacement in resource type specifiers to use str_replace() instead of preg_replace()
Protocol switching, optional http/https CDN delivery, and refactor some code from EngineBootstrapListener into AbstractEngine.