correct prototypes for opendir, readdir, rewinddir and closedir to be more POSIX compatible
add WDIR structure prototype for wide characters as counterpart to DIR structure
add _TDIR to tchar.h