Added a windows thread pool

It's a straight-forward port of the posix one. Passes the parallel
tests.