Implement initial gtest-based test harness.
Make static test library linker hack a bit nicer.
Merge branch 'add_googletest_test_harness'