createImage and getSupportedImageFormats are now according to the spec. Internal exceptions are now converted into WebCLExceptions (but without the correct type).