Make dirent implementation namespace and time_t clean.
Implement conventionally named dirent function trampolines.
Backport glob implementation from master to legacy.
Implement new command line argument globbing strategy.
Move libgen functions to __mingw_ pseudo-namespace.