Adding thread pool

Realization of thread pool added
Add timeouts to CVs

Added timeouts to condition variables, so now it wakes not only on
events but also on timeout.
Merge branch 'thread_pool' of ssh://github.com/lishmael/test into thread_pool

Conflicts:
	Avid-test/ItemListHandler.cpp
	Avid-test/ItemListHandler.h