Added CMake utilities, starting with macros for test projects.