Added more async deferred tests.
Added thread pool join function.
Let the deferred tests be executed when BOOST_THREAD_PROVIDES_VARIADIC_THREAD is defined.