added Timer class with some tests
updated CMakeLists for test for old glibc (error : sleep_for not member of std::this_thread)