Adding thread stuff.
Basic thread functionality working.
Mutexes, conditions and the like are on the way.
Merge pull request #4 from palistov/win32thread

Merge win32thread into master