Remove some dead functions from cm client server and qcommon