Fixes for getCdnTtl(), getCdnUri() and getCdnUriSsl() always returning false

Not 100% sure about the test cases - they work offline, but haven't checked what's supposed to happen in online mode.