Fix formatting
Add gtest-1.7.0
Allow the build scripts to be run from anywhere
Enable unit tests