waitfortasks, waitforthreads and waitforqueues
added unittests for waitfortasks and waitforthreads
waitforqueues tests
documentation update
docs fixes
release 3.1.0: waitfortasks, waitforthreads and waitforqueues