Added gtest unit tests for the STTCL framework classes.
Improved thread safety for the STTCL framework classes.

Signed-off-by: makulik <g-makulik@t-online.de>