Move check_cl_error() function to libpoclu

- it could be useful to others as well
Add TEST_ASSERT and CHECK_OPENCL_ERROR_IN macros

- assert() from assert.h is not very good for tests,
  since it depends on NDEBUG macro