g++ fix and pnAsyncCore/pnAsyncCoreExe cleaning and rewriting

generic/posix reimplementation of pnAsyncCoreExe and merging with pnAsyncCore.
Some inused function (for server) are not implemented...

tests:
Compile and run under WinXP with Visual studio 2010
Compile under linux with g++ (distrib: archlinux)