Added Google test library.
Added memory leak testing for MSVC.
Added macros for convenience.
Fixed copyight in memory tester.
Only check memory if a flag is set.
Default mainfiles to run unit tests.
Fixed tool support.
Merge pull request #706 from eightyeight/add-gtest

Add Google test library