Add convenience macros for target creation.

Added macros to create targets (cmh_add_library_module and
cmh_add_executable_module) as well as set their properties
(cmh_target_compile_definitions, cmh_target_include_directories, and
cmh_target_link_libraries).

Updated the corresponding examples accordingly.