Added CConsoleApp to GCellCon, for disconnecting when closing by signal
QCoreApplication::aboutToQuit
Added some commands, such as "connect", "disconnect".
Fix dead lock in CSocket::disconnectFromHost
But when closing application through the system menu, signal
QCoreApplication::aboutToQuit is not emitted 8(