2014-01-07  Sharath Kamath  <s.kamath@samsung.com>

        WebCL must check for MEM_COPY_OVERLAP exception when copying.

        Issue #326

        Reviewed by Antonio.

        Adding new API to check region overlap in buffers and Images.

        Conformance test cases:
        [https://github.com/SRA-SiliconValley/webkit-webcl-conformance]
        conformance/bindingTesting/queues/cl_commandQueue_enqueueCopyBuffer.html
        conformance/bindingTesting/queues/cl_commandQueue_enqueueCopyBufferRect.html
        conformance/bindingTesting/queues/cl_commandQueue_enqueueCopyImage.html

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueCopyImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferRect):
        * Modules/webcl/WebCLInputChecker.cpp:
        (WebCore::WebCLInputChecker::valueInRange):
        (WebCore::WebCLInputChecker::isRegionOverlapping):
        * Modules/webcl/WebCLInputChecker.h:

Conflicts:
	Source/WebCore/Modules/webcl/WebCLCommandQueue.cpp