Add ccl_wrapper_get_info() function to wrapper module

- This function is added to the benefit of the platform wrapper
module, which doesn't have to rely on the previous hack to keep
the list of cl_device_id's.
- Fix some minor compilation warnings
- Changes not yet throughly tested