Added gtest to external directory.
Updated the Makefile so that googletest would have hope of compiling.  (It fails due to compiler warnings.)
Fixed a whole bunch of unittest comparison assertion signedness to play nice with OS X.