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