Import gtest 1.6.0 and add build rules to create a test binary.

The test binary test_sxmc is created by running "make test" (with or
without CUDA_ROOT option).

No test cases have been defined yet, but they go into the test/
directory and will be discovered by the Makefile.