Wait XSEG request handler exit

Wait XSEG request handler exit and destroy
thread condition variables and mutexes.
Simplify and refactor tdarchipelago_finish_aiocb().
Check Archipelago request state, fail it if not served.
Add Archipelago shared memory segment name in options list