added sanity checks on Pool.schedule, unified process.Pool and thread.Pool logic
fixed unittests
fix race condition in process.Pool
updated README and docs