Added thread safe logger.

modified:   usr/src/libtgecore/tgeCoreMain.cpp
new file:   usr/src/libtgecore/tgeLogger.hpp
Core runner tunning and debug.

Resolved problems with deadlock on core-runner end.

modified:   spawn_build_environment.bash
modified:   usr/src/libtgecore/tgeCoreRunner.cpp
modified:   usr/src/libtgecore/tgeCoreRunner.hpp