Proper error checking

Hi

This adds proper error checking, and prints ret_num_platforms, to help track down issues when first using OpenCL. Also prints compilation errors when changing vector_add_kernel.cl, which will be very helpful for experimentation, too.  Getting OpenCL running (and adding these changes) took me a long time, so please merge to help other people save time :)

Christian.