cpp: Add gtest 1.7.0

This excludes files in the source distribution not required by
cmake.
cmake: Conditionally use embedded gtest