Add cmAppend to cmAlgorithms.h and use it
This adds the cmAppend
function to cmAlgorithms.h
.
It simplifies appending ranges to std::vector
instances.
The new function is used in many sources to replace vec.insert(vec.end(),...)
statements,
which leads to shorter and simpler code.