added histogram example based on opencv

Task reference #222

I am not able to have a consistent results with following code.
Can you have a look on this?

In the final example I'd remove this function and just demonstrate using OpenCL. This is good for developing and testing though.