added the threading portion of jtil to jcl and the corresponding tests (jtorch actually needs the threadpool).