Added paths to gtest library and include directories to cache variables.
Fixed bug in ThreadSingleton instance creation."
Was instantiating the subclass (ThreadSingleton< T >) rather than the super class (T).
Tweaked tests to be a bit more useful.
Wrapped ThreadSingleton's instance reference to prevent memory leaks.