Some fiddling.
Fix `-[SVGImageElement newLayer]`:
We can't use NSImage directly because SVGKImageRep, which was registered on OS X, would have tried to load it.
Changes introduced caused using CIImage not to be 100% API compatible with UIImage from iOS (The size parameter isn't available on CIImage). Add a wrapper to get CIImage's size from it's extent.