Added a non-blocking poll() function to Thread.
Win32 implementation hasn't been tested yet.
(Amended with fixed formating in the ThreadImpl.hpp files)