Add SCons compile support
Compiling shared library supported: scons lib=1
Integrate google test framework:

Conditional compiling run_tests() to TraceBasedSim.cpp, using debug flag.