Update examples.

Defined the CUDA module examples (both basic and advanced), and also
updated the documentation throughout the examples. Also split the
cmh_add_cuda_library_module() implementation into different macros to
make the advanced CUDA library example easier to write.