First version of C++ modifications.
Fixed the cl_mem conversion hack.
Some tidying of the clu generator.
Modified to support passing a context to the program creation.
Cmake scripts added for Tone Mapping and gl_particles samples.