Chunk server and kfsio lib: add explicit recursion protection to ClientSM::Terminate(); add more double delete checks; move double check logic into base class as gcc changes v-table pointers while running destructors such that on double delete only base class destructor is invoked.