Use pointers instead of array syntax.
Fix an uninitialized value in hsBounds.
Remove unneeded register keyword.

In modern compilers, the register keyword has no effect. On clang, it
generates warnings.
Improve clarity of stat/_wstat64 return value.
Merge pull request #404 from dpogue/coverity

Coverity
fix for g++:
	fix plVault LogMsg calls + remove useless wide char usage
	fix usage of plAvatarMgr::FindAvatar() and plLinkEffectsTriggerMsg::SetLinkKey() with temporary variables
	plNetServerSessionInfo.h need std::string
	fix plProgressMgr.h: NumLoadingFrames() have an useless class context information
	fix plSocket usage of non-standard NULL
pnAsyncCore[Exe] cleaning:
	move and rename pnAsyncCoreExe stuff into pnAsyncCore
	move Private/* to remove this folder
	change header style (remove error on multiple inclusion)
	move pnActhread.cpp and pnAcTimer.cpp to Nt
	remove Pch.h and pnAcAllIncludes.h; correct headers inclusions
	remove empty Unix folder
	change NtGetApi to GetApi and remove conditional use of this in pnAcCore.cpp
	added conditional subdirectories inclusion in CMakeLists.txt
	split pnAcIo.h into pnAcSocket.h and pnAcDns.h
	move 'AsyncCore not implemented' error  into CMakeLists.txt
	change Perf*Counter functions to use 'EAsyncPerfCounter' instand of 'unsigned'
remove useless g_api in AsyncCore
remove pnAsyncCore.h
replace pnAsyncThread by hsThread
make pnAcTimer generic (use hsEvent/hsThread)
FIXME: thread stop() with timeout is not implemented
Convert pnAsyncTimer into class
pnAsyncTimer optimisation
remove useless AsyncSignalShutdown and AsyncWaitForShutdown (hsSemphore/hsEvent can do this)
generic NtWorker-like implementation
rewrite AsyncCore/Dns as class and reimplement (posix)
rewrite AsyncCore/AsyncSocket as class and reimplement it (posix).
Remove AsyncCore/Nt/*
add some doxygen documentations and little corrections
unix pfCrashHandler implementation (TODO: generate dumpfile)