Added tests for Image2D
Added extra checks to ocl::Image2D
Merge pull request #3367 from akarsakov:ocl_image2d